diff options
Diffstat (limited to 'wwwroot/blog/index.html')
-rw-r--r-- | wwwroot/blog/index.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/wwwroot/blog/index.html b/wwwroot/blog/index.html index a4c520a..e837780 100644 --- a/wwwroot/blog/index.html +++ b/wwwroot/blog/index.html @@ -1,3 +1,4 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><body> <p> <b>blabla</b> @@ -8,7 +9,7 @@ Test RetFN.: <b>{{ test_return_true }}</b><br><br><br> ## for entry in blog_listing <tr> <td>{{ loop.index1 }}</td> - <td>{{ entry.filename }}</td> + <td><a href="{{ entry.filename }}">{{ entry.filename }}</a></td> <td>{{ entry.title }}</td> <td>{{ entry.tags }}</td> <td>{{ entry.author }}</td> @@ -16,12 +17,18 @@ Test RetFN.: <b>{{ test_return_true }}</b><br><br><br> <td>{{ entry.publishDate }}</td> <td>{{ entry.published }}</td> <td> - {{ indent(entry.content, 12, false, false) }} +{{ indent(entry.content, 12, false, false) }} </td> <td>{% if loop.is_last == false %}more{% else %}eof{% endif %}<br> </tr> ## endfor </table> {% endif %} +## if exists("blog_post") + <a href="{{ blog_post.filename }}">{{ blog_post.title }}</a><br> + {{ blog_post.publishDate }} by {{ blog_post.author }}<br> + +{{ indent(blog_post.content, 4, false, false) }} +## endif </p> </body></html> |