Implemented blog engine and improved templates

This commit is contained in:
Lucia Zehentner 2025-03-26 19:54:21 +01:00
parent 2f2b9b4f21
commit 363bd23954
27 changed files with 1310 additions and 788 deletions

View file

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<title>Overview for {{tag}}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<base href="../">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="assets/fonts/Hack/Hack.css">
</head>
<body>
<header> =================================================================================
// ___ ___ ___ _________ ___ _____ _____ //
// / / / / / / / ______/ / / / | / | //
// / / / / / / / / / / / /| | / /| | //
// / / / / / / / / / / / /_| | / /_| | //
// / / / / / / / / / / / ___ |/ ___ | //
// / /______ / /___/ / / /______ / / / / | | / | | //
// /_________/ /_________/ /_________/ /__/ /__/ |__|_/ |__| //
// //
================================================================================= </header>
<main>
<h1>overview for tag '{{tag}}'</h1>
<div class="overview">
<div class="entries">
<h1>entries</h1>
<ul>
{% for occurence in occurences %}
<li>{% if occurence.date %}{{occurence.date}}{% else %}date missing{% endif %} - <a href="{{occurence.href}}">{{occurence.heading}}</a></li>
{% endfor %}
</ul>
</div>
<a href="{{overview_backlink}}"><-- go back to general overview</a>
</div>
</main>
</body>
</html>