From 7985947c4b5624c2211d2851fa69eefba5daf178 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Sat, 23 Oct 2021 01:32:04 +0200 Subject: Initial blog.impl.cc Signed-off-by: Toni Uhlig --- wwwroot/index.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'wwwroot/index.html') diff --git a/wwwroot/index.html b/wwwroot/index.html index 07dd49d..ae3f1a7 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -1,5 +1,17 @@ - - INDEX TMPL - {{ uri }}
- {{ indent(content, 4, false, false) }} - +## include "00_header.tmpl" +## if exists("blog_post") +{{ blog_post.title }}
+ {{ blog_post.publishDate }} by {{ blog_post.author }}
+{{ blog_post.content }} +## endif +## if exists("blog_listing") and length("blog_listing") > 0 +## for entry in blog_listing + {{ loop.index1 }} +  {{ entry.title }} by {{ entry.author }}
+     published {{ entry.publishDate }}
+## if not loop.is_last +
+## endif +## endfor +## endif +## include "01_footer.tmpl" -- cgit v1.2.3