news-digest: hero brand block links to /index.html (latest edition) from any archive page

Wrapped .masthead-brand in <a href="index.html"> in both digest.html.j2
and archive.html.j2 so the hero is a clickable shortcut to the latest
edition. Useful when reading an archived edition and you want to jump
back to the freshest one without going through the archive list.

CSS: color: inherit + text-decoration: none keeps the visual
identical; hover drops opacity to 0.85 for affordance; focus-visible
gets an accent outline so keyboard nav is discoverable.
This commit is contained in:
vh
2026-04-27 23:10:42 -07:00
parent 425b1d45d6
commit 1b5a2df6db
3 changed files with 18 additions and 4 deletions
+2 -2
View File
@@ -10,10 +10,10 @@
<body>
<header class="masthead" role="banner">
<div class="masthead-inner">
<div class="masthead-brand">
<a class="masthead-brand" href="index.html" title="Latest edition">
<span class="brand-glyph" aria-hidden="true">◢</span>
<span class="brand-mark">DAILY DIGEST</span>
</div>
</a>
<div class="masthead-edition">
<span class="edition-stamp">ARCHIVE</span>
<a class="archive-link" href="index.html">← LATEST</a>