tags actually working

I figured out what I was doing wrong. Tag pages generate properly now.
This commit is contained in:
Matt DeCamp 2021-12-02 21:33:18 -05:00
parent 061cf41ae7
commit 445ba1b4dd

View file

@ -1,13 +1,12 @@
---
layout: base
title: Tags
title: Tag
pagination:
data: collections
size: 3
size: 1
filter: all
alias: tag
filter:
- all
permalink: /tags/{{ tag }}/
permalink: /tags/{{ tag }}/
---
<h2>Posts filed under “{{ tag }}”</h2>
@ -16,8 +15,7 @@ pagination:
{% for post in postlist | reverse %}
<li>
<a href="{{ post.url | url }}">{{ post.data.title }}</a>
<time>{{ post.date }}</time>
<time>{{ post.date | dateFilter }}</time>
</li>
{% endfor %}
</ul>
<p>See <a href="{{ '/tags/' | url }}">all tags</a>.</p>