Commit a16d9f5622

a16d9f5622a036fda4ba2c3af9339d043a881cf5

parent: d27b4af9af

Verified · cmc

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

add krz frame mark as favicon, touch icon, and og image

replace the text-based favicon glyph with filled rects on an even
32-unit grid so it renders identically everywhere and stays crisp at
16px. favicon is transparent and flips colors via prefers-color-scheme;
og card and touch icon are light.

wire up apple-touch-icon plus og/twitter card meta. og:title and
og:description are omitted; scrapers fall back to the existing
per-page title and description.

Layout: unified · split

static/apple-touch-icon.png added

Binary file not shown.

static/favicon.svg +13 −2
@@ -1,4 +1,15 @@
11<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
2 <rect width="32" height="32" fill="#0a0a0b"/>
3 <text x="16" y="22" font-family="ui-monospace, monospace" font-size="16" font-weight="700" fill="#6f9dff" text-anchor="middle">▚</text>
2 <style>
3 .fg { fill: #17171a; }
4 .ac { fill: #2f6bd6; }
5 @media (prefers-color-scheme: dark) {
6 .fg { fill: #f1f1ef; }
7 .ac { fill: #6f9dff; }
8 }
9 </style>
10 <rect class="fg" x="4" y="4" width="24" height="4"/>
11 <rect class="fg" x="4" y="24" width="24" height="4"/>
12 <rect class="fg" x="4" y="8" width="4" height="16"/>
13 <rect class="fg" x="24" y="8" width="4" height="16"/>
14 <rect class="ac" x="12" y="12" width="8" height="8"/>
415</svg>
static/og.png added

Binary file not shown.

templates/base.html +8
@@ -8,6 +8,14 @@
88 <meta name="color-scheme" content="dark light">
99 <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}">
1010 <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 }}">
12 <meta property="og:type" content="website">
13 <meta property="og:site_name" content="{{ config.title }}">
14 <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 }}">
16 <meta property="og:image:width" content="1200">
17 <meta property="og:image:height" content="630">
18 <meta name="twitter:card" content="summary_large_image">
1119</head>
1220<body>
1321 <header class="site-header">