From a41c16990f0d14bb1b254616e7af2e8dae59870f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Tue, 22 Sep 2026 23:47:41 +0200 Subject: [PATCH] content: leere Blog-Seite entfernen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit blog.html hatte keine Beiträge und war nirgends verlinkt, stand aber in der Sitemap. Sitemap, SEO-Config und SEO-Test entsprechend angepasst. Co-Authored-By: Claude Opus 5.5 --- public/blog.html | 83 ------------------------------------- public/custom/seo-config.js | 4 -- public/sitemap.xml | 1 - scripts/check-seo.mjs | 4 +- 4 files changed, 2 insertions(+), 90 deletions(-) delete mode 100644 public/blog.html diff --git a/public/blog.html b/public/blog.html deleted file mode 100644 index 8edb98d..0000000 --- a/public/blog.html +++ /dev/null @@ -1,83 +0,0 @@ - - - - - - - - - - - Blog | Leon Tonhäuser - - - - - - - - - - - - - - - - - - - - - - -
-

Blog

-

Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.

-

← Zurück zur Startseite

-
- - - - - - diff --git a/public/custom/seo-config.js b/public/custom/seo-config.js index 2bda840..0f3b33d 100644 --- a/public/custom/seo-config.js +++ b/public/custom/seo-config.js @@ -191,10 +191,6 @@ desc: 'Allgemeine Geschäftsbedingungen sowie Nutzungs- und Lizenzbedingungen von Leon Tonhäuser für Fotoaufträge, Bildlizenzen und das Redaktionsportal.', jsonld: ['breadcrumb'] }, - '/blog': { - title: 'Blog | Leon Tonhäuser', - desc: 'Blog von Leon Tonhäuser — bald mit Beiträgen über Shootings, Hintergründe und alles, was neben der Kamera passiert.' - }, '/404': { title: '404 – Leider nichts gefunden | Leon Tonhäuser', desc: 'Diese Seite existiert nicht (mehr). Zurück zur Startseite von Leon Tonhäuser, Sportfotograf aus Ebstorf.' diff --git a/public/sitemap.xml b/public/sitemap.xml index 50ade00..0dcf7c4 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -28,5 +28,4 @@ https://leon-tonhaeuser.de/datenschutz2026-06-170.2 https://leon-tonhaeuser.de/impressum2026-06-170.2 https://leon-tonhaeuser.de/nutzungsbedingungen2026-08-11yearly0.2 - https://leon-tonhaeuser.de/blog2026-06-170.5 diff --git a/scripts/check-seo.mjs b/scripts/check-seo.mjs index 37437c2..b7183b4 100644 --- a/scripts/check-seo.mjs +++ b/scripts/check-seo.mjs @@ -155,7 +155,7 @@ if (wants('core')) { }); check('SEO-Bake meldet übersprungene HTML-Seiten als Fehler', () => { - const file = path.join(PUBLIC, 'blog.html'); + const file = path.join(PUBLIC, 'impressum.html'); const original = readFileSync(file, 'utf8'); let failure; try { @@ -169,7 +169,7 @@ if (wants('core')) { writeFileSync(file, original); } assert.ok(failure, 'das Backen muss bei übersprungenen HTML-Seiten fehlschlagen'); - assert.match(String(failure.stderr), /kein <\/head> in blog\.html/); + assert.match(String(failure.stderr), /kein <\/head> in impressum\.html/); }); }