prefix document title with 'ctdo - '
This commit is contained in:
parent
85593557ff
commit
cdfc8a91d7
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/datenschutz"
|
||||
title: "Datenschutzerklärung"
|
||||
title: "datenschutzerklärung"
|
||||
edit: "datenschutz.mdx"
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/events"
|
||||
title: "Events"
|
||||
title: "events"
|
||||
edit: "events.mdx"
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/"
|
||||
title: "Home"
|
||||
title: "home"
|
||||
edit: "home.mdx"
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/impressum"
|
||||
title: "Impressum"
|
||||
title: "impressum"
|
||||
edit: "impressum.mdx"
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/kontakt"
|
||||
title: "Kontakt"
|
||||
title: "kontakt"
|
||||
edit: "kontakt.mdx"
|
||||
---
|
||||
import Accordion from "../components/accordion.js"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/treff"
|
||||
title: "Zeiten & Location"
|
||||
title: "zeiten & location"
|
||||
edit: "treff.mdx"
|
||||
---
|
||||
import RoomState from "../components/roomState.js"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
path: "/verein"
|
||||
title: "Verein"
|
||||
title: "verein"
|
||||
edit: "verein.mdx"
|
||||
---
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue