feat: add extern
Some checks failed
Publish / publish (push) Failing after 40s

This commit is contained in:
Kat Inskip 2025-11-09 07:14:29 -08:00
parent fc43c018e5
commit 0a7e78015b
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
4 changed files with 62 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>