Rename notes to zets

This commit is contained in:
Oliver Davies 2024-09-14 16:57:43 +01:00
parent e70d8c6f1f
commit 6d4667887d
35 changed files with 57 additions and 33 deletions

View file

@ -0,0 +1,9 @@
{% if links is not empty %}
<h2>Links</h2>
<ul>
{% for url in links %}
<li><a href="{{ url }}">{{ url }}</a></li>
{% endfor %}
</ul>
{% endif %}

View file

@ -0,0 +1,13 @@
{% if related and zets %}
<section>
<h2>Related</h2>
<ul>
{% for zet in zets if related|filter((title) => title == zet.title) %}
<li>
<a href="{{ zet.url }}">{{ zet.title }}</a>
</li>
{% endfor %}
</ul>
</section>
{% endif %}

View file

@ -0,0 +1,10 @@
{% if tags is not empty %}
<h2>Tags</h2>
<ul>
{% for tag in tags|sort %}
<li>{{ tag }}</li>
{% endfor %}
</ul>
{% endif %}