prefix document title with 'ctdo - '

This commit is contained in:
neri 2019-12-17 23:51:06 +01:00
parent 85593557ff
commit cdfc8a91d7
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
---
path: "/datenschutz"
title: "Datenschutzerklärung"
title: "datenschutzerklärung"
edit: "datenschutz.mdx"
---

View File

@ -1,6 +1,6 @@
---
path: "/events"
title: "Events"
title: "events"
edit: "events.mdx"
---

View File

@ -1,6 +1,6 @@
---
path: "/"
title: "Home"
title: "home"
edit: "home.mdx"
---

View File

@ -1,6 +1,6 @@
---
path: "/impressum"
title: "Impressum"
title: "impressum"
edit: "impressum.mdx"
---

View File

@ -1,6 +1,6 @@
---
path: "/kontakt"
title: "Kontakt"
title: "kontakt"
edit: "kontakt.mdx"
---
import Accordion from "../components/accordion.js"

View File

@ -1,6 +1,6 @@
---
path: "/treff"
title: "Zeiten & Location"
title: "zeiten & location"
edit: "treff.mdx"
---
import RoomState from "../components/roomState.js"

View File

@ -1,6 +1,6 @@
---
path: "/verein"
title: "Verein"
title: "verein"
edit: "verein.mdx"
---

View File

@ -26,7 +26,7 @@ export default function Template({
const { frontmatter, body } = mdx
useEffect(() => {
document.title = frontmatter.title
document.title = `ctdo - ${frontmatter.title.toLowerCase()}`
}, [frontmatter.title])
const editLink = frontmatter.edit ? ide + frontmatter.edit.relativePath : null