From 7b01dd8e4b1779e4c4dd782dbec87acce0f4754b Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 19 Oct 2021 00:43:49 +0200 Subject: Added blog listing sorting and template checks. Signed-off-by: Toni Uhlig --- wwwroot/index.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wwwroot/index.html') diff --git a/wwwroot/index.html b/wwwroot/index.html index b0a9fbf..8d3bbd4 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -3,9 +3,12 @@ blabla Test fn....: {{ test_fn }}
Test RetFN.: {{ test_return_true }}
+{% if exists("blog_listing") and length(blog_listing) > 0 %} ## for entry in blog_listing {{ loop.index1 }}: {{ entry.content_filename }} -> {{ entry.published }}
{{ entry }}
+ {{ indent(entry.content, 8, false, false) }}
## endfor +{% endif %}

-- cgit v1.2.3