fix: catalogue and tag pages not working

This commit is contained in:
Devin Haska 2024-02-23 10:11:16 -08:00
parent 37bb1355bf
commit 93165ee35b
4 changed files with 0 additions and 0 deletions

17
src/tag.html Normal file
View file

@ -0,0 +1,17 @@
---
layout: "layouts/base"
pagination:
data: collections.postsByTag
size: 1
alias: tag
filter:
- post
permalink: /tags/{{ tag | slugify }}/index.html
---
<h1>Tag: {{ tag }}</h1>
<p>
All posts tagged with "{{ tag }}", or go back to <a href="/tags">all tags</a>.
</p>
{% set items = collections.postsByTag[ tag ] %}
{% include "partials/archive.html" %}