summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-05-17 20:26:42 -0500
committerStarfall <us@starfall.systems>2023-05-17 20:43:15 -0500
commitab48bfa194a3d24679062217dbe55e7eead51bee (patch)
tree3f64d35c076af8682a2c60c08626e5f722c7c607 /src
parent1cc3d1798ec2b7d0cc2fde3f97aea346a22176bf (diff)
switch to toml frontmatter
Diffstat (limited to 'src')
-rw-r--r--src/blog.njk12
-rw-r--r--src/blog/foobar.md6
-rw-r--r--src/blog/hello-world.md7
-rw-r--r--src/index.html4
4 files changed, 14 insertions, 15 deletions
diff --git a/src/blog.njk b/src/blog.njk
index 29709f7..dd04288 100644
--- a/src/blog.njk
+++ b/src/blog.njk
@@ -1,10 +1,10 @@
 ---
-layout: base.njk
-pagination:
-  data: collections.post
-  size: 20
-  reverse: true
-  alias: posts
+layout = "base.njk"
+[pagination]
+data = "collections.post"
+alias = "posts"
+size = 20
+reverse = true
 ---
 {% for post in posts %}
 <article>
diff --git a/src/blog/foobar.md b/src/blog/foobar.md
index 081799b..9c3c805 100644
--- a/src/blog/foobar.md
+++ b/src/blog/foobar.md
@@ -1,6 +1,6 @@
 ---
-layout: base.njk
-tags: ["post"]
-title: Some second post
+layout = "base.njk"
+tags = [ "post" ]
+title = "Second post"
 ---
 Second post, hooray!
diff --git a/src/blog/hello-world.md b/src/blog/hello-world.md
index 0feadd7..d75c546 100644
--- a/src/blog/hello-world.md
+++ b/src/blog/hello-world.md
@@ -1,7 +1,6 @@
 ---
-layout: base.njk
-title: Hello, World!
-tags:
-  - post
+layout = "base.njk"
+title = "Hello, World!"
+tags = [ "post" ]
 ---
 Hello, World!
diff --git a/src/index.html b/src/index.html
index e4aa82e..1af2fb6 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,6 +1,6 @@
 ---
-layout: base.njk
-title: starfall.systems
+title = "starfall.systems"
+layout = "base.njk"
 ---
 
 Hello, World!