diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-10-19 00:43:49 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-10-19 00:43:49 +0200 |
commit | 7b01dd8e4b1779e4c4dd782dbec87acce0f4754b (patch) | |
tree | 2e6268167fdddf209a6e8e161736f5e6aff6b7d3 /wwwroot/index.html | |
parent | 51d9d23c99d77edad03e6425f3ab35a390156117 (diff) |
Added blog listing sorting and template checks.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'wwwroot/index.html')
-rw-r--r-- | wwwroot/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ <b>blabla</b> Test fn....: <b>{{ test_fn }}</b><br> Test RetFN.: <b>{{ test_return_true }}</b><br> +{% if exists("blog_listing") and length(blog_listing) > 0 %} ## for entry in blog_listing {{ loop.index1 }}: {{ entry.content_filename }} -> {{ entry.published }}<br> <b>{{ entry }}</b><br> + {{ indent(entry.content, 8, false, false) }}<br> ## endfor +{% endif %} </p> </body></html> |