Add cache busting suffix to static assets
All checks were successful
Build and Deploy / deploy (push) Successful in 14s

This commit is contained in:
djg 2026-09-23 00:42:02 +00:00
parent 347d411940
commit 8e4d14e189

View file

@ -100,7 +100,7 @@ def layout(title, desc, body, path='/', extra_head=''):
<meta property="og:type" content="website">
<meta property="og:url" content="{SITE_URL}{esc(path)}">
<meta name="twitter:card" content="summary">
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/style.css?v=2">
<style>:root{{--brand:#e4572e;--brand2:#f5a623;--ink:#2b2118;--cream:#fff8ec;--card:#ffffff}}</style>
{extra_head}
</head>
@ -154,8 +154,8 @@ def layout(title, desc, body, path='/', extra_head=''):
<p>© {YEAR} {SITE_NAME} · Family-friendly jokes, dad-certified since the Big Dad Energy era.</p>
</div>
</footer>
<script src="/static/jokes-data.js" defer></script>
<script src="/static/main.js" defer></script>
<script src="/static/jokes-data.js?v=2" defer></script>
<script src="/static/main.js?v=2" defer></script>
</body>
</html>"""