diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blog.njk | 12 | ||||
-rw-r--r-- | src/blog/foobar.md | 6 | ||||
-rw-r--r-- | src/blog/hello-world.md | 7 | ||||
-rw-r--r-- | src/index.html | 4 |
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! |