stacks/news-digest: favicon + serve-via-nginx wiring

Editorial-briefing favicon: 32×32 SVG, Australis palette. Cyan
masthead-rule across the top echoes the page's aurora-rule, four
descending text-line indicators below evoke a newspaper column.
Reads cleanly at 16×16 (the typical browser tab size). Static
markup only — no script, no animation — so all browsers honor
it for tab + bookmark icons.

Linked from both digest.html.j2 and archive.html.j2 with the
proper type="image/svg+xml" attribute. Served by nginx from
the bind-mounted /output dir alongside index.html and style.css.

Deploy playbook also updated to copy the favicon into /output at
deploy-time so a fresh deploy doesn't 404 on the icon before the
first cron fire.
This commit is contained in:
vh
2026-04-26 13:55:51 -07:00
parent 23222418fa
commit 5f2b485390
4 changed files with 29 additions and 6 deletions
@@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Daily Digest · Archive</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
@@ -4,6 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Daily Digest · {{ date_long }} · {{ edition_short }}</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<title>Daily Digest</title>
<desc>Masthead rule across the top with descending text-line indicators below — reads as "stacked headlines / news columns" at any size. Australis palette: cool-black surface, bright-cyan masthead, bright-70 / dark-50 text lines.</desc>
<rect width="32" height="32" rx="5" fill="#222531"/>
<!-- masthead rule (echoes the page's aurora-rule + cyan brand glyph) -->
<rect x="4" y="5" width="24" height="2" rx="1" fill="#42dcd1"/>
<!-- four text-line indicators of varying widths — like a newspaper -->
<rect x="4" y="11" width="20" height="2" rx="1" fill="#b3cbcf"/>
<rect x="4" y="16" width="24" height="2" rx="1" fill="#9daeb6"/>
<rect x="4" y="21" width="14" height="2" rx="1" fill="#9daeb6"/>
<rect x="4" y="26" width="18" height="2" rx="1" fill="#6e7882"/>
</svg>

After

Width:  |  Height:  |  Size: 925 B