Commit 8095f28891

8095f288917d0db85c36041e2cd8850b04dbaa12

parent: fc25583836

Verified · cmc

cmc <hello@cleberg.net> · 2026-08-12 05:13 UTC

cachebust icon urls

static assets are served with max-age=31536000, so cloudflare and
browsers kept serving the old favicon after it changed. use the same
cachebust already applied to main.css.

Layout: unified · split

templates/base.html +3 −3
@@ -7,12 +7,12 @@
77 <meta name="description" content="{% block description %}{{ config.description }}{% endblock description %}">
88 <meta name="color-scheme" content="dark light">
99 <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}">
10 <link rel="icon" href="{{ get_url(path="favicon.svg") | safe }}">
11 <link rel="apple-touch-icon" href="{{ get_url(path="apple-touch-icon.png") | safe }}">
10 <link rel="icon" href="{{ get_url(path="favicon.svg", cachebust=true) | safe }}">
11 <link rel="apple-touch-icon" href="{{ get_url(path="apple-touch-icon.png", cachebust=true) | safe }}">
1212 <meta property="og:type" content="website">
1313 <meta property="og:site_name" content="{{ config.title }}">
1414 <meta property="og:url" content="{{ current_url | default(value=config.base_url) | safe }}">
15 <meta property="og:image" content="{{ get_url(path="og.png") | safe }}">
15 <meta property="og:image" content="{{ get_url(path="og.png", cachebust=true) | safe }}">
1616 <meta property="og:image:width" content="1200">
1717 <meta property="og:image:height" content="630">
1818 <meta name="twitter:card" content="summary_large_image">