Initial static site implementation
- Node.js build script with gray-matter and marked - Self-hosted fonts (DM Serif Display, Karla) - Swedish badge system for origin transparency - Filtering by category, region, tags, and search - URL-based filter state for shareable links - Individual entry pages - About and badge info pages - Privacy-focused: no cookies, no tracking, no external requests - Hosted in Lerum, Sweden
This commit is contained in:
35
templates/single.html
Normal file
35
templates/single.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="sv">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="../styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header site-header--single">
|
||||
<div class="container">
|
||||
<a href="../index.html" class="site-title-link">
|
||||
<h1 class="site-title site-title--small">Ursprung Sverige</h1>
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="site-main site-main--single">
|
||||
<div class="container container--narrow">
|
||||
{{ content }}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="container">
|
||||
<p>Ursprung Sverige © {{ year }}</p>
|
||||
<p class="footer-tagline">Stöd svensk ekonomi och kultur</p>
|
||||
<nav class="footer-nav">
|
||||
<a href="../om-oss.html">Om oss</a>
|
||||
<a href="../om-markning.html">Om märkning</a>
|
||||
</nav>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user