Skip to content

Commit e15aae4

Browse files
committed
Datenschutz stands on its own and can be indexed
It referenced the unfinished Impressum for the controller's name, which would have put a placeholder into the search index. It now names the provider as the one given in the Impressum, so the page is complete on its own — indexable, and back in the sitemap. Only the Impressum stays a marked draft.
1 parent 6e805ee commit e15aae4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/pages/datenschutz.astro‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import { site } from "../config";
1919
<div class="prose" style="margin-top:2.5rem">
2020
<h2>Verantwortliche Stelle</h2>
2121
<p>
22-
[Name und Anschrift wie im Impressum]. Kontakt über
23-
<a href={site.telegram} rel="me">Telegram</a>.
22+
Verantwortlich ist der Anbieter, der im <a href="/impressum/">Impressum</a>
23+
genannt ist. Kontakt über <a href={site.telegram} rel="me">Telegram</a>.
2424
</p>
2525

2626
<h2>Was beim Aufruf anfällt</h2>

‎src/pages/sitemap.xml.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export const GET: APIRoute = async () => {
2121
"/ueber/",
2222
"/wissen/",
2323
"/kontakt/",
24+
"/datenschutz/",
2425
...leistungen.map((e) => `/leistungen/${e.id}/`),
2526
...wissen.map((e) => `/wissen/${e.id}/`),
26-
// Excluded on purpose: /impressum/ (marked draft), /datenschutz/ and
27-
// /og-card/ (both noindex).
27+
// Excluded on purpose: /impressum/ (a marked draft) and /og-card/ (noindex).
2828
];
2929

3030
// lastmod is the build date: honest, and enough for crawlers to re-fetch.

0 commit comments

Comments
 (0)