From f6a545b00a4046879b7cc25c06c37bb6b6880b43 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 8 Mar 2024 14:53:01 +0100 Subject: Use serde and time --- templates/index.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index e28be64..5b818a6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,4 @@ - - + @@ -23,13 +22,13 @@ This blog is also available in txt and rss

- {{~ it.posts: post}} -
+ {{~ posts: post}} +
{{= post.html}}

{{~}} - {{? it.posts.length === 0}} + {{? !has_posts}}

This is a fresh blog!

There are no posts yet.

{{?}} -- cgit