2023-12-30 20:10:07 +00:00
|
|
|
---json
|
|
|
|
{
|
|
|
|
"title": "Blog",
|
|
|
|
"layout": "base.njk",
|
|
|
|
"pagination": {
|
|
|
|
"data": "collections.tags",
|
|
|
|
"size": 1,
|
|
|
|
"alias": "tag"
|
|
|
|
},
|
|
|
|
"eleventyComputed": {
|
|
|
|
"permalink": "/post/tag/{{ tag }}/",
|
|
|
|
"feed": {
|
|
|
|
"rss": "{{ page.url }}rss.xml",
|
|
|
|
"atom": "{{ page.url }}atom.xml",
|
|
|
|
"json": "{{ page.url }}feed.json"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-10-18 12:35:02 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
<main class="wrapper-md stack-lg">
|
2023-12-30 15:38:09 +00:00
|
|
|
<h1>Posts tagged “{{ tag }}”</h1>
|
2023-10-18 12:35:02 +00:00
|
|
|
|
2023-12-30 20:10:07 +00:00
|
|
|
<aside class="text-center">
|
|
|
|
<p>
|
|
|
|
Subscribe via <a href="{{ feed.rss }}">RSS</a>, <a href="{{ feed.atom }}">Atom</a>, or <a href="{{ feed.json }}">JSON</a>.
|
|
|
|
</p>
|
|
|
|
</aside>
|
|
|
|
|
2023-10-18 12:35:02 +00:00
|
|
|
<ol class="stack-xl" role='list'>
|
2023-12-30 16:06:29 +00:00
|
|
|
{% set posts = collections.posts | filterBy(tag) | reverse %}
|
2023-12-30 15:38:09 +00:00
|
|
|
{% for item in posts %}
|
2023-10-18 12:35:02 +00:00
|
|
|
<li class="stack-xs">
|
2023-12-30 15:38:09 +00:00
|
|
|
<h2><a href="{{ item.url }}">{{ item.data.title | safe }}</a></h2>
|
|
|
|
<time datetime="{{ item.date | dateToRfc3339 }}" class="block">{{ item.date | dateDisplay }}</time>
|
|
|
|
<div class="e-content p-summary">{{ item.content | excerpt }}</div>
|
|
|
|
<a href="{{ item.url }}" class="inline-block">Read more</a>
|
2023-10-18 12:35:02 +00:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ol>
|
2023-11-29 08:34:39 +00:00
|
|
|
</main>
|