Abstract article html up to base

This commit is contained in:
2023-04-21 23:55:10 -06:00
parent c0acfb8836
commit 6dfa58c66c
6 changed files with 107 additions and 122 deletions

View File

@@ -3,30 +3,24 @@
<title>Writing | t0.vc</title>
{% endblock %}
{% block style %}
{% endblock %}
{% block content %}
<pre style=font:unset>
<a href="/">Home | t0.vc</a>
<h1>Writing</h1>
Writing
=======
Various articles, mostly about computers.
<p>Various articles, mostly about computers.</p>
{% for article in articles if article.category.name == 'Writing' %}
<a href="/{{ article.url }}">{{ article.title }}</a>
{{ article.summary | striptags }}
<p>
<a href="/{{ article.url }}">{{ article.title }}</a><br/>
{{ article.summary | striptags }}
</p>
{% endfor %}
Text Files
----------
<h2>Text Files</h2>
Here are some random text notes that I share with the public.
<p>Here are some random text notes that I share with the public.</p>
{% for f in list_text_files() %}
<a href="../text/{{ f }}">{{ f }}</a>
<a href="../text/{{ f }}">{{ f }}</a><br/>
{% endfor %}
{% endblock %}