feat: rust Dissent in the hero, shrike mark in the header and link preview metadata

- the last line of the home motto is set in the accent colour, as in the logo
- the header of every page starts with the small shrike mark
- og:* and twitter:card meta tags with a 1200x630 preview image (og.png)
This commit is contained in:
squid 2026-11-14 11:08:38 +01:00
commit 944c498d78
4 changed files with 27 additions and 4 deletions

View file

@ -5,6 +5,16 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="color-scheme" content="light dark">
{{robots_meta}}<meta name="description" content="{{description_attr}}">
<meta property="og:site_name" content="kmalloc.org">
<meta property="og:type" content="website">
<meta property="og:title" content="{{title_html}}">
<meta property="og:description" content="{{description_attr}}">
<meta property="og:url" content="{{doc_url}}">
<meta property="og:image" content="{{base_url}}/og.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="kmalloc.org: Technology. Freedom. Dissent.">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

View file

@ -1,7 +1,7 @@
<header>
<nav aria-label="{{sections}}">
<p>
<a href="{{home_link}}" hreflang="en" lang="en">kmalloc.org</a>
<a href="{{home_link}}" hreflang="en" lang="en"><img class="mark" src="/logo-auto.svg" alt="" width="20" height="20">kmalloc.org</a>
&middot;
<a href="{{url_manifesto}}"{{cur_manifesto}}>{{nav_manifesto}}</a>
&middot;

View file

@ -1,7 +1,7 @@
<header>
<nav aria-label="{{sections}}">
<p>
<a href="{{home_link}}"{{cur_home}}>kmalloc.org</a>
<a href="{{home_link}}"{{cur_home}}><img class="mark" src="/logo-auto.svg" alt="" width="20" height="20">kmalloc.org</a>
&middot;
<a href="{{url_manifesto}}"{{cur_manifesto}}>{{nav_manifesto}}</a>
&middot;

View file

@ -2,7 +2,7 @@
<img class="logo" src="/logo-auto.svg" alt="kmalloc" width="112">
</p>
<h1 class="hero">Technology.<br>Freedom.<br>Dissent.</h1>
<h1 class="hero">Technology.<br>Freedom.<br><span class="accent">Dissent.</span></h1>
<p>
<strong>{{identity}}</strong>