mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 23:29:17 -08:00
deploy: 65191fd93c
This commit is contained in:
parent
2a47cf9f11
commit
619ea2fbb5
2 changed files with 43 additions and 46 deletions
|
|
@ -4,19 +4,18 @@
|
|||
<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 %}
|
||||
{% for category in data.categories %}
|
||||
<section>
|
||||
{% set cat = data.categories[k] %}
|
||||
<h3>{{ cat.title }}</h3>
|
||||
{% if cat.note is defined %}
|
||||
<p>{{ cat.note }}</p>
|
||||
<h3>{{ category.title }}</h3>
|
||||
{% if category.note is defined %}
|
||||
<p>{{ category.note }}</p>
|
||||
{% endif %}
|
||||
<ul>
|
||||
{% for kx in v %}
|
||||
{% for post in category.posts %}
|
||||
<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 %}
|
||||
<a href="{{post.permalink | safe}}"><strong>{{ post.title }}</strong></a>
|
||||
{% if post.author is defined %} by {{ post.author }}{% endif %}{% if post.archive is defined %} - <a href="{{post.archive}}">Archive</a> {% endif %}{% if post.suffix is defined %} ({{ post.suffix }}){% endif %}
|
||||
</article>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue