prefix document title with 'ctdo - '
This commit is contained in:
parent
85593557ff
commit
cdfc8a91d7
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/datenschutz"
|
path: "/datenschutz"
|
||||||
title: "Datenschutzerklärung"
|
title: "datenschutzerklärung"
|
||||||
edit: "datenschutz.mdx"
|
edit: "datenschutz.mdx"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/events"
|
path: "/events"
|
||||||
title: "Events"
|
title: "events"
|
||||||
edit: "events.mdx"
|
edit: "events.mdx"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/"
|
path: "/"
|
||||||
title: "Home"
|
title: "home"
|
||||||
edit: "home.mdx"
|
edit: "home.mdx"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/impressum"
|
path: "/impressum"
|
||||||
title: "Impressum"
|
title: "impressum"
|
||||||
edit: "impressum.mdx"
|
edit: "impressum.mdx"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/kontakt"
|
path: "/kontakt"
|
||||||
title: "Kontakt"
|
title: "kontakt"
|
||||||
edit: "kontakt.mdx"
|
edit: "kontakt.mdx"
|
||||||
---
|
---
|
||||||
import Accordion from "../components/accordion.js"
|
import Accordion from "../components/accordion.js"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/treff"
|
path: "/treff"
|
||||||
title: "Zeiten & Location"
|
title: "zeiten & location"
|
||||||
edit: "treff.mdx"
|
edit: "treff.mdx"
|
||||||
---
|
---
|
||||||
import RoomState from "../components/roomState.js"
|
import RoomState from "../components/roomState.js"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
path: "/verein"
|
path: "/verein"
|
||||||
title: "Verein"
|
title: "verein"
|
||||||
edit: "verein.mdx"
|
edit: "verein.mdx"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ export default function Template({
|
||||||
const { frontmatter, body } = mdx
|
const { frontmatter, body } = mdx
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
document.title = frontmatter.title
|
document.title = `ctdo - ${frontmatter.title.toLowerCase()}`
|
||||||
}, [frontmatter.title])
|
}, [frontmatter.title])
|
||||||
|
|
||||||
const editLink = frontmatter.edit ? ide + frontmatter.edit.relativePath : null
|
const editLink = frontmatter.edit ? ide + frontmatter.edit.relativePath : null
|
||||||
|
|
Loading…
Reference in New Issue