Restructuring of file hierachy and cleanup
This commit is contained in:
parent
caf713afa4
commit
200909a5b8
37 changed files with 793 additions and 132 deletions
20
templates/404.html
Normal file
20
templates/404.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% extends "base.html" %}
|
||||
{% block main %}
|
||||
<div class="ascii-art">
|
||||
_______ __________ _______
|
||||
/ | / \ / |
|
||||
/ | / ____ \ / |
|
||||
/ /| | / / \ \ / /| |
|
||||
/ / | | | / \ | / / | |
|
||||
/ / | | | | | | / / | |
|
||||
/ / | | | | | | / / | |
|
||||
/ /____| |__ | | | | / /____| |__
|
||||
| | | | | | | |
|
||||
|___________ ___| | \ / | |___________ ___|
|
||||
| | \ \____/ / | |
|
||||
| | \ / | |
|
||||
|___| \__________/ |___|
|
||||
|
||||
</div>
|
||||
<p class="flowing-text">Unfortunately this page doesn't exist (yet or anymore). Probably the former.</p>
|
||||
{% endblock %}
|
|
@ -1,6 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% block head_extra %}
|
||||
{% endblock %}
|
||||
{% block head %}
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<h2>entries</h2>
|
||||
<ul>
|
||||
{% for entry in blog_data %}
|
||||
<li>{% if entry.date %}{{entry.date}}{% else %}date missing{% endif %} - <a href="{{entry.href}}">{{entry.heading}}</a></li>
|
||||
<li>{% if entry.date %}{{entry.date}}{% else %}date missing{% endif %} - <a href="blog/{{entry.href}}">{{entry.heading}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@
|
|||
<h2>tags</h2>
|
||||
<ul>
|
||||
{% for tag, occurences in tag_occurences.items() %}
|
||||
<li><a href="tags/{{tag}}.html">{{tag}}</a> {{occurences|count()}}</li>
|
||||
<li><a href="blog/tags/{{tag}}.html">{{tag}}</a> {{occurences|count()}}</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
|
|
@ -1,59 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{entry.heading}}</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="stylesheet" href="assets/fonts/Hack/Hack.css">
|
||||
</head>
|
||||
<body>
|
||||
<header> =================================================================================
|
||||
// ___ ___ ___ _________ ___ _____ _____ //
|
||||
// / / / / / / / ______/ / / / | / | //
|
||||
// / / / / / / / / / / / /| | / /| | //
|
||||
// / / / / / / / / / / / /_| | / /_| | //
|
||||
// / / / / / / / / / / / ___ |/ ___ | //
|
||||
// / /______ / /___/ / / /______ / / / / | | / | | //
|
||||
// /_________/ /_________/ /_________/ /__/ /__/ |__|_/ |__| //
|
||||
// //
|
||||
================================================================================= </header>
|
||||
<main>
|
||||
<h1>{{entry.heading}}</h1>
|
||||
<div id="author_date">
|
||||
Written by {{entry.author}} on {{entry.date}}
|
||||
</div>
|
||||
{% if entry.content_warnings %}
|
||||
<div id="cw">
|
||||
Content Warnings:
|
||||
{% for warning in entry.content_warnings %}
|
||||
{% extends "base.html" %}
|
||||
{% block head_extra %}
|
||||
<base href="../">
|
||||
{% endblock %}
|
||||
{% block main %}
|
||||
<h1>{{entry.heading}}</h1>
|
||||
<div id="author_date">
|
||||
Written by {{entry.author}} on {{entry.date}}
|
||||
</div>
|
||||
{% if entry.content_warnings %}
|
||||
<div id="cw">
|
||||
Content Warnings:
|
||||
{% for warning in entry.content_warnings %}
|
||||
{% if loop.nextitem is defined %}
|
||||
{{warning}},
|
||||
{% else %}
|
||||
{{warning}}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="blog-body">
|
||||
{{entry.html}}
|
||||
</div>
|
||||
{% if entry.tags %}
|
||||
<div id="tags">
|
||||
Tags:
|
||||
{% for tag in entry.tags %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="blog-body">
|
||||
{{entry.html}}
|
||||
</div>
|
||||
{% if entry.tags %}
|
||||
<div id="tags">
|
||||
Tags:
|
||||
{% for tag in entry.tags %}
|
||||
{% if loop.nextitem is defined %}
|
||||
<a href="tags/{{tag}}.html">#{{tag}}</a>,
|
||||
<a href="blog/tags/{{tag}}.html">#{{tag}}</a>,
|
||||
{% else %}
|
||||
<a href="tags/{{tag}}.html">#{{tag}}</a>
|
||||
<a href="blog/tags/{{tag}}.html">#{{tag}}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="overview-backlink">
|
||||
<a href="{{overview_backlink}}"><-- go back to general overview</a>
|
||||
</div>
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="overview-backlink">
|
||||
<a href="{{overview_backlink}}"><-- go back to general overview</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<a href="https://gabrielhuber.at/"><img src="" alt="Yepoleb"></a>
|
||||
<a href="https://lukechriswalker.at/"><img src="assets/img/88x31/friends/lena.gif" alt="Lena"></a>
|
||||
<a href="https://leggi.es/"><img src="assets/img/88x31/friends/deneb.gif" alt="CGA text mode style button for netdeneb.com"></a>
|
||||
<a href="https://ohaa.xyz/"><img src="" alt="Ohaa"></a>
|
||||
<a href="https://ohaa.xyz/"><img src="assets/img/88x31/friends/ohaa.png" alt="Ohaa"></a>
|
||||
</div>
|
||||
</ul>
|
||||
<h1 class="topic"><span class="smaller-spacer"></span> cool places & organizations <span class="additional-spacer">=</span><span class="smaller-spacer"></span></h1>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
/home/lucia/Nextcloud/Code/Personal_Website/style.css
|
|
@ -1,36 +1,18 @@
|
|||
<!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>
|
||||
{% extends "base.html" %}
|
||||
{% block head_extra %}
|
||||
<base href="../../">
|
||||
{% endblock %}
|
||||
{% block 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="blog/{{occurence.href}}">{{occurence.heading}}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<a href="{{overview_backlink}}"><-- go back to general overview</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue