feat: add tag page

This commit is contained in:
Devin Haska 2024-02-07 10:26:55 -08:00
parent 210a278ab1
commit 5e72b839fe
5 changed files with 52 additions and 3 deletions

View file

@ -3,5 +3,14 @@ permalink: /posts/index.html
layout: "base"
---
{% for post in collections.posts %}{{ post.fileSlug }}{% endfor %}
Here are all my posts!
<h1>All posts</h1>
<p>
View all <a href="/tags">tags</a>
</p>
<ul>
{% for post in collections.posts %}
<li>
<a href={{ post.url }}>{{ post.data.title }}</a>
</li>
{% endfor %}
</ul>