initial setup. make pages work, basic layouts, config, markdown blog

This commit is contained in:
Rik Berkelder 2025-01-27 02:17:27 +01:00
parent 6979f11d92
commit af0f3e6268
13 changed files with 438 additions and 12 deletions

9
content/pages/blog.njk Normal file
View file

@ -0,0 +1,9 @@
---
title: 'Blog'
permalink: "/blog/"
---
<h1>Blog</h1>
{% for post in collections.blogpost %}
<a href="{{ post.data.permalink | safe }}">{{post.data.title}}</a>
{% endfor %}

View file

@ -0,0 +1,7 @@
---
title: Contact
permalink: "/contact/"
---
<h2>E-mail</h2>
mail@riksolo.com

6
content/pages/index.njk Normal file
View file

@ -0,0 +1,6 @@
---
title: Home
permalink: "/"
---
<h1>{{title}}</h1>

3
content/pages/pages.json Normal file
View file

@ -0,0 +1,3 @@
{
"tags": "page"
}