From 431906aec271735ffbfa1e8aaf90fc8bcc89598d Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 15 Nov 2021 14:01:23 +0100 Subject: Improved www examples. Signed-off-by: Toni Uhlig --- wwwroot/inherit/index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'wwwroot/inherit/index.html') diff --git a/wwwroot/inherit/index.html b/wwwroot/inherit/index.html index a717e4f..8824f78 100644 --- a/wwwroot/inherit/index.html +++ b/wwwroot/inherit/index.html @@ -17,7 +17,7 @@ ## for entry in blog_listing {{ loop.index1 }} - {{ entry.filename }} + {{ entry.filename }} {{ entry.title }} {{ entry.tags }} {{ entry.author }} @@ -25,11 +25,16 @@ {{ entry.publishDate }} {{ entry.published }} - {{ indent(entry.content, 12, false, false) }} +{{ indent(entry.content, 16, false, false) }} {% if loop.is_last == false %}more{% else %}eof{% endif %}
## endfor {% endif %} +## if exists("blog_post") + {{ blog_post.title }}
+ {{ blog_post.publishDate }} by {{ blog_post.author }}
+{{ indent(blog_post.content, 4, false, false) }} +## endif {% endblock %} -- cgit v1.2.3