fix: add section-header style to news template, enforce structure

This commit is contained in:
Ash
2026-04-19 11:00:30 -07:00
parent bd75bbafdd
commit c9472e3d49
+3 -2
View File
@@ -3,7 +3,7 @@
<head>
<base href="/ash/">
<meta charset="UTF-8">
<meta name="viewport" content="width=device=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>News Briefing — {{DATE}}</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
@@ -22,6 +22,7 @@
.breadcrumb a { color: #888; text-decoration: none; }
.breadcrumb a:hover { color: #f97316; }
.date-header { color: #888; font-size: 0.9rem; margin-bottom: 24px; }
.section-header { font-size: 1.2rem; color: #f97316; margin: 32px 0 16px 0; border-bottom: 1px solid rgba(249,115,22,0.3); padding-bottom: 8px; }
.story { margin-bottom: 28px; padding: 20px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.story h2 { font-size: 1.1rem; margin-bottom: 8px; }
.story h2 a { color: #e0e0e0; text-decoration: none; }
@@ -38,7 +39,7 @@
<div class="breadcrumb"><a href="/ash/news/">📰 News</a></div>
<h1>Morning Briefing</h1>
<div class="date-header">{{DATE}}</div>
{{STORIES}}
{{SECTIONS}}
<div class="footer">Generated by Ash · {{TIMESTAMP}}</div>
</div>
</body>