]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/index.txt
Use serde and time
[rbdr/blog] / templates / index.txt
index b3b27a93976f65a2805b09ca026316d18ddde5f2..ca0fba4e11acd77a84cb15881f899bd4a5c70cc5 100644 (file)
@@ -1,18 +1,11 @@
-╔══════════════════════════════════════════════════════════════════════════════╗
-║                                                                              ║
-║                         The Blog at Unlimited Pizza                          ║
-║                                                                              ║
-╚══════════════════════════════════════════════════════════════════════════════╝
-┌──────────────────────────────────────────────────────────────────────────────┐
-│                       Written by Rubén Beltrán del Río                       │
-└──────────────────────────────────────────────────────────────────────────────┘
+# My Ephemeral Blog
 
-{{~ it.posts: post}}
+{{~ posts: post}}
 {{= post.raw}}
-■──────────────────────────────────────────────────────────────────────────────■
+------------------------------------
 {{~}}
-{{? it.posts.length === 0}}
-# This is a fresh blog!
+{{? posts_count == 0}}
+## This is a fresh blog!
 
 There are no posts yet.
 {{?}}