diff options
author | lns <matzeton@googlemail.com> | 2021-10-20 19:58:38 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2021-10-20 19:58:38 +0200 |
commit | 384724a00be9dbb8f40d295f99b9c6bcfb48b387 (patch) | |
tree | 6e053365bb995bf675397368281c0a3ff92bd9fc /wwwroot | |
parent | 7b01dd8e4b1779e4c4dd782dbec87acce0f4754b (diff) |
Added MD4C support to render HTML from Markdown text.
* additional blog metadata properties
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'wwwroot')
-rw-r--r-- | wwwroot/index.html | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/wwwroot/index.html b/wwwroot/index.html index 8d3bbd4..554a952 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -2,13 +2,26 @@ <p> <b>blabla</b> Test fn....: <b>{{ test_fn }}</b><br> -Test RetFN.: <b>{{ test_return_true }}</b><br> +Test RetFN.: <b>{{ test_return_true }}</b><br><br><br> {% if exists("blog_listing") and length(blog_listing) > 0 %} +<table> ## for entry in blog_listing - {{ loop.index1 }}: {{ entry.content_filename }} -> {{ entry.published }}<br> - <b>{{ entry }}</b><br> - {{ indent(entry.content, 8, false, false) }}<br> + <tr> + <td>{{ loop.index1 }}</td> + <td>{{ entry.content_filename }}</td> + <td>{{ entry.title }}</td> + <td>{{ entry.tags }}</td> + <td>{{ entry.author }}</td> + <td>{{ entry.createDate }}</td> + <td>{{ entry.publishDate }}</td> + <td>{{ entry.published }}</td> + <td> + {{ indent(entry.content, 12, false, false) }} + </td> + <td>{% if loop.is_last == false %}more{% else %}eof{% endif %}<br> + </tr> ## endfor +</table> {% endif %} </p> </body></html> |