This commit is contained in:
kittywitch 2025-11-09 15:14:49 +00:00
parent 94ad279a47
commit 70303d5526
3 changed files with 55 additions and 0 deletions

19
templates/external.html Normal file
View file

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block content %}
<section id="blogposts">
<h2>Things I find value in sharing</h2>
<ul>
{% set data = load_data(path="content/external/external.toml") %}
{% for k, v in data %}
<li>
<article>
<a href="{{v.permalink | safe}}"><strong>{{ v.title }}</strong></a>
{% if v.author is defined %} by {{ v.author }}{% endif %}{% if v.archive is defined %} - <a href="{{v.archive}}">Archive</a> {% endif %}{% if v.suffix is defined %} ({{ v.suffix }}){% endif %}
</article>
</li>
{% endfor %}
</ul>
</section>
{% endblock content %}

View file

@ -5,6 +5,7 @@
<ul>
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/external">External</a></li>
</ul>
</nav>
<hr>