Skip to content

Commit d9def54

Browse files
committed
feat: add posts archive page, navigation links, and initial blog post.
1 parent 4da9994 commit d9def54

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ main:
33
url: "/"
44
- title: "About"
55
url: "/about/"
6+
- title: "Posts"
7+
url: "/posts/"
68
- title: "Tags"
79
url: "/tags/"
810
- title: "Terms & Privacy"

_pages/posts.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: archive
3+
title: "All Posts"
4+
permalink: /posts/
5+
author_profile: true
6+
---
7+
8+
{% for post in site.posts %}
9+
{% include archive-single.html %}
10+
{% endfor %}

0 commit comments

Comments
 (0)