Commit a16d9f5622
Verified · cmc
Layout: unified · split
static/apple-touch-icon.png added
Binary file not shown.
static/favicon.svg +13 −2
| @@ -1,4 +1,15 @@ | ||
| 1 | 1 | <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"/> | |
| 4 | 15 | </svg> |
static/og.png added
Binary file not shown.
templates/base.html +8
| @@ -8,6 +8,14 @@ | ||
| 8 | 8 | <meta name="color-scheme" content="dark light"> |
| 9 | 9 | <link rel="stylesheet" href="{{ get_url(path="main.css", cachebust=true) | safe }}"> |
| 10 | 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 }}"> | |
| 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"> | |
| 11 | 19 | </head> |
| 12 | 20 | <body> |
| 13 | 21 | <header class="site-header"> |