blob: 8f3f8b6a7878e834953cea3e7b87a464dedb1240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
---
layout: page
eleventyExcludeFromCollections: true
pagination:
data: collections
size: 1
alias: tag
filter:
- all
- posts
permalink: /{{ tag | slug }}/
eleventyComputed:
title: "#{{ tag }}"
pageTitle: "{{ title }} – {{ metadata.title | safe }}"
---
<a id="up" title="Home" aria-label="Home" href="/"></a>
<a id="back" title="Back" aria-label="Back" href="javascript:history.back()"></a>
<h1>{{ title }}</h1>
<hr>
{% set taglist = collections[ tag ] -%}
{% for post in taglist | reverse %}
<section class="post-list">
<h2><a href="{{ post.url }}">{{ post.data.title }}</a></h2>
{%- set postDate = post.date.toISOString().slice(0,10) %}
<p class="post-date"><time datetime="{{ postDate }}">{{ postDate }}</time></p>
{{ post | excerpt | safe }}
</section>
<hr>
{% endfor -%}
|