fix: CSS/JS mit Versionsparameter laden, damit Browser keine alten Stile zeigen

Nach einem Deploy kam neues HTML mit zwischengespeichertem alten
site.css an (Cache 10 min) – die Portfolio-Übersicht war unstyled.
Bei Änderungen an custom/*.css/js den Wert ?v= auf allen Seiten anheben.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude Opus 5.5 committed 2026-09-23 19:00:10 +02:00
1 parent c4dc5fa921
commit 9639098303
33 files changed
+202 -202

No files matched your search

@@ -54,9 +54,9 @@
</style>
<!-- Fragment Mono für Monospace-Akzente (Preis-Schriftzug) -->
<link rel="stylesheet" href="custom/fonts.css">
<link rel="stylesheet" href="custom/fonts.css?v=20260923">
<link rel="stylesheet" href="custom/site.css">
<link rel="stylesheet" href="custom/site.css?v=20260923">
<!-- Ohne JavaScript: Einblenden-Inhalte direkt sichtbar lassen -->
<noscript><style>.einblenden,.reveal{opacity:1!important;transform:none!important}</style></noscript>
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
@@ -179,9 +179,9 @@
</div>
</footer>
<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>
<script src="custom/vendor/lenis.min.js"></script><script src="custom/smooth-scroll.js?v=20260923"></script><script src="custom/vendor/motion.min.js"></script><script src="custom/bewegung.js?v=20260923"></script><script src="custom/transitions.js?v=20260923"></script>
<script src="custom/seo-config.js?v=20260923"></script>
<script src="custom/seo.js?v=20260923"></script>
<script src="custom/consent.js?v=20260923"></script>
</body>
</html>