aboutsummaryrefslogtreecommitdiff
path: root/templates/index.txt
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2024-03-08 14:53:01 +0100
committerRuben Beltran del Rio <git@r.bdr.sh>2024-03-08 14:53:01 +0100
commitf6a545b00a4046879b7cc25c06c37bb6b6880b43 (patch)
treebc7da8066c080ff850d1e423c0e33bd5fb83e095 /templates/index.txt
parent2998247083406f914b3647cedd19abf5507bf2c6 (diff)
Use serde and time
Diffstat (limited to 'templates/index.txt')
-rw-r--r--templates/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.txt b/templates/index.txt
index 1474e7c..ca0fba4 100644
--- a/templates/index.txt
+++ b/templates/index.txt
@@ -1,10 +1,10 @@
# My Ephemeral Blog
-{{~ it.posts: post}}
+{{~ posts: post}}
{{= post.raw}}
------------------------------------
{{~}}
-{{? it.posts.length === 0}}
+{{? posts_count == 0}}
## This is a fresh blog!
There are no posts yet.