feat: add tag page
This commit is contained in:
parent
210a278ab1
commit
5e72b839fe
5 changed files with 52 additions and 3 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue