content: leere Blog-Seite entfernen
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ae031b3cb
commit
a41c16990f
4 files changed
+2
-90
No files matched your search
@@ -1,83 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="de">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="viewport" content="width=device-width">
|
|
||||||
<!-- Google Consent Mode v2: Default abgelehnt (DSGVO) – vor GTM. -->
|
|
||||||
<script>
|
|
||||||
window.dataLayer = window.dataLayer || [];
|
|
||||||
function gtag(){dataLayer.push(arguments);}
|
|
||||||
gtag('consent', 'default', {
|
|
||||||
'ad_storage': 'denied',
|
|
||||||
'ad_user_data': 'denied',
|
|
||||||
'ad_personalization': 'denied',
|
|
||||||
'analytics_storage': 'denied',
|
|
||||||
'wait_for_update': 500
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!-- Google Tag Manager: wird erst nach Einwilligung von custom/consent.js geladen -->
|
|
||||||
<script>window.ltLadeGtm=function(){if(window.ltGtmGeladen)return;window.ltGtmGeladen=true;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
||||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
||||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
||||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
||||||
})(window,document,'script','dataLayer','GTM-T6CVBLPR');};</script>
|
|
||||||
<!-- End Google Tag Manager -->
|
|
||||||
<title>Blog | Leon Tonhäuser</title>
|
|
||||||
<meta name="description" content="Blog von Leon Tonhäuser — bald mit Beiträgen über Shootings, Hintergründe und alles, was neben der Kamera passiert.">
|
|
||||||
<link rel="stylesheet" href="custom/site.css">
|
|
||||||
<!-- Ohne JavaScript: Einblenden-Inhalte direkt sichtbar lassen -->
|
|
||||||
<noscript><style>.einblenden,.reveal{opacity:1!important;transform:none!important}</style></noscript>
|
|
||||||
<style>
|
|
||||||
:root { color-scheme: dark; }
|
|
||||||
body {
|
|
||||||
margin: 0;
|
|
||||||
min-height: 100vh;
|
|
||||||
display: grid;
|
|
||||||
place-items: center;
|
|
||||||
font-family: 'Fragment Mono', ui-monospace, monospace;
|
|
||||||
color: #ececec;
|
|
||||||
background: #0e0e0e;
|
|
||||||
padding: 2rem;
|
|
||||||
}
|
|
||||||
main { max-width: 36rem; text-align: center; }
|
|
||||||
h1 {
|
|
||||||
font-size: clamp(2rem, 5vw, 3rem);
|
|
||||||
margin: 0 0 1rem;
|
|
||||||
letter-spacing: -0.02em;
|
|
||||||
}
|
|
||||||
p { color: #b9b9b9; line-height: 1.6; margin: 0 0 1.5rem; }
|
|
||||||
a {
|
|
||||||
color: #d4af37;
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid currentColor;
|
|
||||||
}
|
|
||||||
a:hover { color: #fff; }
|
|
||||||
</style>
|
|
||||||
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
|
|
||||||
<link rel="alternate icon" href="favicon.ico" sizes="any">
|
|
||||||
<!-- STATIC-SEO: canonical, Open Graph, Twitter, JSON-LD (aus seo-config.js gebacken) -->
|
|
||||||
<link rel="canonical" href="https://leon-tonhaeuser.de/blog">
|
|
||||||
<meta property="og:title" content="Blog | Leon Tonhäuser">
|
|
||||||
<meta property="og:description" content="Blog von Leon Tonhäuser — bald mit Beiträgen über Shootings, Hintergründe und alles, was neben der Kamera passiert.">
|
|
||||||
<meta property="og:url" content="https://leon-tonhaeuser.de/blog">
|
|
||||||
<meta property="og:type" content="article">
|
|
||||||
<meta property="og:site_name" content="Leon Tonhäuser | Sportfotograf">
|
|
||||||
<meta property="og:image" content="https://leon-tonhaeuser.de/assets/portfolio/sports/rhine-ruhr/beachvolleyball/galerie-02.jpg">
|
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
|
||||||
<meta name="twitter:title" content="Blog | Leon Tonhäuser">
|
|
||||||
<meta name="twitter:description" content="Blog von Leon Tonhäuser — bald mit Beiträgen über Shootings, Hintergründe und alles, was neben der Kamera passiert.">
|
|
||||||
<meta name="twitter:image" content="https://leon-tonhaeuser.de/assets/portfolio/sports/rhine-ruhr/beachvolleyball/galerie-02.jpg">
|
|
||||||
<!-- /STATIC-SEO -->
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<main class="einblenden">
|
|
||||||
<h1>Blog</h1>
|
|
||||||
<p>Hier schreibe ich bald über Shootings, Hintergründe und alles, was neben der Kamera passiert.</p>
|
|
||||||
<p><a href="./">← Zurück zur Startseite</a></p>
|
|
||||||
</main>
|
|
||||||
<script src="custom/vendor/lenis.min.js"></script><script src="custom/smooth-scroll.js"></script><script src="custom/vendor/motion.min.js"></script><script src="custom/bewegung.js"></script><script src="custom/transitions.js"></script>
|
|
||||||
<script src="custom/seo-config.js"></script>
|
|
||||||
<script src="custom/seo.js"></script>
|
|
||||||
<script src="custom/consent.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -191,10 +191,6 @@
|
|||||||
desc: 'Allgemeine Geschäftsbedingungen sowie Nutzungs- und Lizenzbedingungen von Leon Tonhäuser für Fotoaufträge, Bildlizenzen und das Redaktionsportal.',
|
desc: 'Allgemeine Geschäftsbedingungen sowie Nutzungs- und Lizenzbedingungen von Leon Tonhäuser für Fotoaufträge, Bildlizenzen und das Redaktionsportal.',
|
||||||
jsonld: ['breadcrumb']
|
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': {
|
'/404': {
|
||||||
title: '404 – Leider nichts gefunden | Leon Tonhäuser',
|
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.'
|
desc: 'Diese Seite existiert nicht (mehr). Zurück zur Startseite von Leon Tonhäuser, Sportfotograf aus Ebstorf.'
|
||||||
|
|||||||
@@ -28,5 +28,4 @@
|
|||||||
<url><loc>https://leon-tonhaeuser.de/datenschutz</loc><lastmod>2026-06-17</lastmod><priority>0.2</priority></url>
|
<url><loc>https://leon-tonhaeuser.de/datenschutz</loc><lastmod>2026-06-17</lastmod><priority>0.2</priority></url>
|
||||||
<url><loc>https://leon-tonhaeuser.de/impressum</loc><lastmod>2026-06-17</lastmod><priority>0.2</priority></url>
|
<url><loc>https://leon-tonhaeuser.de/impressum</loc><lastmod>2026-06-17</lastmod><priority>0.2</priority></url>
|
||||||
<url><loc>https://leon-tonhaeuser.de/nutzungsbedingungen</loc><lastmod>2026-08-11</lastmod><changefreq>yearly</changefreq><priority>0.2</priority></url>
|
<url><loc>https://leon-tonhaeuser.de/nutzungsbedingungen</loc><lastmod>2026-08-11</lastmod><changefreq>yearly</changefreq><priority>0.2</priority></url>
|
||||||
<url><loc>https://leon-tonhaeuser.de/blog</loc><lastmod>2026-06-17</lastmod><priority>0.5</priority></url>
|
|
||||||
</urlset>
|
</urlset>
|
||||||
@@ -155,7 +155,7 @@ if (wants('core')) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
check('SEO-Bake meldet übersprungene HTML-Seiten als Fehler', () => {
|
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');
|
const original = readFileSync(file, 'utf8');
|
||||||
let failure;
|
let failure;
|
||||||
try {
|
try {
|
||||||
@@ -169,7 +169,7 @@ if (wants('core')) {
|
|||||||
writeFileSync(file, original);
|
writeFileSync(file, original);
|
||||||
}
|
}
|
||||||
assert.ok(failure, 'das Backen muss bei übersprungenen HTML-Seiten fehlschlagen');
|
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/);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user