From 9266070e51422a71566ee5c04db42feec996c485 Mon Sep 17 00:00:00 2001 From: lns Date: Thu, 21 Oct 2021 14:52:26 +0200 Subject: Improved URI handling and redirection/routing. * parse and process URI query strings * remove garbage slashes from URI path / sanitize * more template examples Signed-off-by: lns --- wwwroot/blog/index.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 wwwroot/blog/index.html (limited to 'wwwroot/blog/index.html') diff --git a/wwwroot/blog/index.html b/wwwroot/blog/index.html new file mode 100644 index 0000000..554a952 --- /dev/null +++ b/wwwroot/blog/index.html @@ -0,0 +1,27 @@ + +

+blabla +Test fn....: {{ test_fn }}
+Test RetFN.: {{ test_return_true }}


+{% if exists("blog_listing") and length(blog_listing) > 0 %} + +## for entry in blog_listing + + + + + + + + + + + +## endfor +
{{ loop.index1 }}{{ entry.content_filename }}{{ entry.title }}{{ entry.tags }}{{ entry.author }}{{ entry.createDate }}{{ entry.publishDate }}{{ entry.published }} + {{ indent(entry.content, 12, false, false) }} + {% if loop.is_last == false %}more{% else %}eof{% endif %}
+
+{% endif %} +

+ -- cgit v1.2.3