dork.dev/templates/external.html

28 lines
830 B
HTML

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