]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/index.txt
Add TXT support
[rbdr/blog] / templates / index.txt
diff --git a/templates/index.txt b/templates/index.txt
new file mode 100644 (file)
index 0000000..b3b27a9
--- /dev/null
@@ -0,0 +1,18 @@
+╔══════════════════════════════════════════════════════════════════════════════╗
+║                                                                              ║
+║                         The Blog at Unlimited Pizza                          ║
+║                                                                              ║
+╚══════════════════════════════════════════════════════════════════════════════╝
+┌──────────────────────────────────────────────────────────────────────────────┐
+│                       Written by Rubén Beltrán del Río                       │
+└──────────────────────────────────────────────────────────────────────────────┘
+
+{{~ it.posts: post}}
+{{= post.raw}}
+■──────────────────────────────────────────────────────────────────────────────■
+{{~}}
+{{? it.posts.length === 0}}
+# This is a fresh blog!
+
+There are no posts yet.
+{{?}}