This commit is contained in:
Caffeine Fueled 2025-10-09 15:59:47 +02:00
commit 68b6a87b14
Signed by: cf7
GPG key ID: CA295D643074C68C
25 changed files with 871 additions and 0 deletions

View file

View file

@ -0,0 +1,3 @@
<footer>
<p>Generated with <a href="https://git.uphillsecurity.com/cf7/picopaper">picopaper</a></p>
</footer>

View file

@ -0,0 +1,9 @@
<header>
<h1><a href="/" style="color: #333; text-decoration: none;">{{ blog_title }}</a></h1>
<p class="blog-description">{{ blog_description }}</p>
<nav class="main-nav">
{% for item in navbar_items %}
<a href="{{ item.url }}" class="nav-item">{{ item.text }}</a>
{% endfor %}
</nav>
</header>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% include 'meta.tmpl' %}
</head>
<body>
{% include 'header.tmpl' %}
<main>
{% for post in posts %}
<article class="post">
<div class="post-meta">{{ post.date }}</div>
<h2 class="post-title">
{% if post.type == 'long' %}
<a href="{{ post.url }}">{{ post.title }}</a>
{% else %}
{{ post.title }}
{% endif %}
</h2>
{% if post.type == 'short' %}
<div class="post-content">
{{ post.content | safe }}
</div>
{% endif %}
</article>
{% endfor %}
</main>
{% include 'footer.tmpl' %}
</body>
</html>

View file

@ -0,0 +1,6 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ blog_description }}">
<title>{{ title }}</title>
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
<link rel="stylesheet" href="/assets/style.css">

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% include 'meta.tmpl' %}
</head>
<body>
{% include 'header.tmpl' %}
<main>
<article class="post">
<div class="post-meta">{{ post.date }}</div>
<h2>{{ post.title }}</h2>
<div class="post-content">
{{ post.content | safe }}
</div>
</article>
</main>
{% include 'footer.tmpl' %}
</body>
</html>