From 96c7a635e540d675ca06d004cfe77e71b74471c7 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 1 Jun 2020 23:34:00 +0200 Subject: Add h-feed fields to markup --- templates/index.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 0c45ce2..3e37304 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,28 +1,33 @@ - + + + - blog 🍕 + + + Blog at Unlimited Pizza 🍕 - + + -
+
Blog
{{~ it.posts: post}} -
+
{{= post.html}}

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

This is a fresh blog!

There are no posts yet.

{{?}} -- cgit From de0ee360d0317da471912be6a3041fc95448b018 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 1 Jun 2020 23:35:20 +0200 Subject: Add RSS template --- templates/feed.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/feed.xml (limited to 'templates') diff --git a/templates/feed.xml b/templates/feed.xml new file mode 100644 index 0000000..d22d656 --- /dev/null +++ b/templates/feed.xml @@ -0,0 +1,18 @@ + + + + Blog at Unlimited Pizza 🍕 + https://blog.unlimited.pizza + This is the blog at unlimited.pizza + en + {{~ it.posts: post}} + + unlimited-pizza:{{= post.id}} + {{= post.createdOn}} + + {{= post.html}} + + + {{~}} + + -- cgit