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