28 lines
784 B
HTML
28 lines
784 B
HTML
---
|
|
title: Blog
|
|
layout: base.njk
|
|
pagination:
|
|
data: collections.tags
|
|
size: 1
|
|
alias: tag
|
|
eleventyComputed:
|
|
permalink: "/post/tag/{{ tag }}/"
|
|
feed: "/post/tag/{{ tag }}/feed/"
|
|
---
|
|
|
|
<main class="wrapper-md stack-lg">
|
|
<h1>Posts tagged “{{ tag }}”</h1>
|
|
|
|
<ol class="stack-xl" role='list'>
|
|
{% set posts = collections.posts | filterBy(tag) %}
|
|
{% for item in posts %}
|
|
<li class="stack-xs">
|
|
<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>
|
|
</li>
|
|
{% endfor %}
|
|
</ol>
|
|
</main>
|