]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/index.txt
Improve the error handling
[rbdr/blog] / templates / index.txt
index 1474e7c05569bc44b959640317f0be13c79848dd..52d363e71d4a14754259eaee33536b6732833fa9 100644 (file)
@@ -1,10 +1,10 @@
 # My Ephemeral Blog
 
-{{~ it.posts: post}}
+{{~ posts: post}}
 {{= post.raw}}
 ------------------------------------
 {{~}}
-{{? it.posts.length === 0}}
+{{? !has_posts }}
 ## This is a fresh blog!
 
 There are no posts yet.