diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-10-23 01:32:04 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-11-13 18:23:53 +0100 |
commit | 7985947c4b5624c2211d2851fa69eefba5daf178 (patch) | |
tree | 628582acb41749eac9b61848df3036e770b2d788 /wwwroot/index.html | |
parent | c2ef613b99d01e742127d894756e49f42b1f264d (diff) |
Initial blog.impl.ccblog.impl.cc
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'wwwroot/index.html')
-rw-r--r-- | wwwroot/index.html | 22 |
1 files changed, 17 insertions, 5 deletions
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 @@ -<html><body> - <b>INDEX TMPL</b> - {{ uri }}<br> - {{ indent(content, 4, false, false) }} -</body></html> +## include "00_header.tmpl" +## if exists("blog_post") +<a href="{{ blog_post.filename }}">{{ blog_post.title }}</a><br> + {{ blog_post.publishDate }} by {{ blog_post.author }}<br> +{{ blog_post.content }} +## endif +## if exists("blog_listing") and length("blog_listing") > 0 +## for entry in blog_listing + {{ loop.index1 }} + <a href="{{ entry.filename }}">{{ entry.title }}</a> by {{ entry.author }}<br> + published {{ entry.publishDate }}<br> +## if not loop.is_last + <br> +## endif +## endfor +## endif +## include "01_footer.tmpl" |