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:
2026-01-25 22:45:50 +01:00
parent 3470a9c8e2
commit 47fc81bc72
1816 changed files with 2010 additions and 2 deletions

35
templates/single.html Normal file
View 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 &copy; {{ 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>