website/templates/base.html
iris 3b4668aea8 dedupe: single canonical hyperhive.svg for favicon + og + hero
mara nit on #1: the three SVGs in static/ were identical copies
(md5 1108d7bd79ca…). Dropped favicon.svg + hex-mark.svg; kept
hyperhive.svg as the single source. Both consumers now point at
it: `<link rel="icon">` and the hero's `load_data(path="static/
hyperhive.svg", format="plain")`.

Also fixed: the original `load_data(path="hex-mark.svg")` would
have failed at build time anyway — Zola's `load_data` resolves
from project root, so files in `static/` need the full prefix
+ `format="plain"` to come back as raw markup. Build was never
validated locally (remote-builder unreachable from agent), so the
typo would have surfaced on the operator's first `nix build`.
Caught it during the dedupe pass.

If a future visual divergence is wanted (simpler favicon,
titled og:image), can split back into named copies then.
2026-05-27 12:55:04 +02:00

34 lines
1.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<meta name="description" content="{{ config.description }}">
{# Open Graph / social card. Reuses the SVG hex mark as the image. #}
<meta property="og:type" content="website">
<meta property="og:title" content="{{ config.title }}">
<meta property="og:description" content="{{ config.description }}">
<meta property="og:url" content="{{ config.base_url }}">
<meta property="og:image" content="{{ get_url(path='hyperhive.svg') }}">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" type="image/svg+xml" href="{{ get_url(path='hyperhive.svg') }}">
<link rel="stylesheet" href="{{ get_url(path='main.css') }}">
</head>
<body>
<main class="shell">
{% block content %}{% endblock %}
</main>
<footer class="site-footer">
<pre class="banner-thin">░▒▓█▓▒░ HYPERHIVE ░▒▓█▓▒░</pre>
<p class="footer-links">
<a href="http://localhost:3000/hyperhive">code on the forge</a>
<span class="sep">·</span>
<a href="{{ get_url(path='') }}">home</a>
</p>
</footer>
</body>
</html>