Files
portfolio-photo/public/blog.html
T
Leon TonhäuserandClaude cf8e67c452 feat: Google Tag Manager + Consent Mode v2 + Cookie-Banner (DSGVO)
- Auf allen 26 Seiten: altes GA-gtag-Snippet (G-CC4TX68365) ersetzt durch
  Google-Consent-Mode-v2-Default „denied" + GTM-Container GTM-T6CVBLPR (head)
- GTM-noscript-iframe direkt nach <body>
- Neue custom/consent.js: selbstgebautes Consent-Banner (Akzeptieren / Nur
  Notwendige / Datenschutz-Link), speichert Wahl in localStorage, updated
  Consent Mode. Auf allen Seiten eingebunden.
Voraussetzung für Google Ads; DSGVO-konform (keine Cookies vor Einwilligung).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-25 15:41:28 +02:00

71 lines
2.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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 -->
<script>(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="Leon Tonhäuser | Sportfotograf für die Umgebung Uelzen / Lüneburg">
<link rel="stylesheet" href="custom/site.css">
<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>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T6CVBLPR"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<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/transitions.js"></script>
<script src="custom/seo-config.js"></script>
<script src="custom/seo.js"></script>
<script src="custom/consent.js"></script>
</body>
</html>