From 02f408c24d82d1fac4e55c146c4fa57cbdcdeca4 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 14 Feb 2024 16:58:09 +0100 Subject: Make templates more generic --- templates/index.txt | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'templates/index.txt') diff --git a/templates/index.txt b/templates/index.txt index b3b27a9..1474e7c 100644 --- a/templates/index.txt +++ b/templates/index.txt @@ -1,18 +1,11 @@ -╔══════════════════════════════════════════════════════════════════════════════╗ -║ ║ -║ The Blog at Unlimited Pizza ║ -║ ║ -╚══════════════════════════════════════════════════════════════════════════════╝ -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Written by Rubén Beltrán del Río │ -└──────────────────────────────────────────────────────────────────────────────┘ +# My Ephemeral Blog {{~ it.posts: post}} {{= post.raw}} -■──────────────────────────────────────────────────────────────────────────────■ +------------------------------------ {{~}} {{? it.posts.length === 0}} -# This is a fresh blog! +## This is a fresh blog! There are no posts yet. {{?}} -- cgit