news: add briefing page template and index
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device=device-width, initial-scale=1.0">
|
||||
<title>News Briefing — {{DATE}}</title>
|
||||
<style>
|
||||
* { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
background: #0f0f0f;
|
||||
color: #e0e0e0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 40px 20px;
|
||||
}
|
||||
.container { max-width: 800px; width: 100%; }
|
||||
h1 { font-size: 1.8rem; margin-bottom: 4px; color: #f97316; }
|
||||
.breadcrumb { color: #666; margin-bottom: 24px; font-size: 0.85rem; }
|
||||
.breadcrumb a { color: #888; text-decoration: none; }
|
||||
.breadcrumb a:hover { color: #f97316; }
|
||||
.date-header { color: #888; font-size: 0.9rem; margin-bottom: 24px; }
|
||||
.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; }
|
||||
.story h2 a:hover { color: #f97316; }
|
||||
.story .meta { color: #888; font-size: 0.8rem; margin-bottom: 10px; }
|
||||
.story .summary { color: #ccc; font-size: 0.95rem; line-height: 1.6; }
|
||||
.story .tags { margin-top: 10px; }
|
||||
.tag { display: inline-block; background: rgba(249,115,22,0.15); color: #f97316; padding: 2px 8px; border-radius: 12px; font-size: 0.75rem; margin-right: 4px; }
|
||||
.footer { color: #555; font-size: 0.75rem; margin-top: 32px; text-align: center; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="breadcrumb"><a href="/ash/news/">📰 News</a></div>
|
||||
<h1>Morning Briefing</h1>
|
||||
<div class="date-header">{{DATE}}</div>
|
||||
{{STORIES}}
|
||||
<div class="footer">Generated by Ash · {{TIMESTAMP}}</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user