From 54ac714da7175a8a08239e500a4e75a48b97d97e Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 24 Dec 2022 18:10:17 +0000 Subject: Initial version of generator Generation of feed page and post pages are supported. Markdown to html conversion seems working. At least there is nothing strange with hello-world example. --- templates/feed.html | 23 +++++++++++++++++++++++ templates/post.html | 17 +++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 templates/feed.html create mode 100644 templates/post.html (limited to 'templates') diff --git a/templates/feed.html b/templates/feed.html new file mode 100644 index 0000000..ee1411e --- /dev/null +++ b/templates/feed.html @@ -0,0 +1,23 @@ + + + + + + + Blog + + + + {% if posts %} + + {% endif %} + + + diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..088b2f6 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,17 @@ + + + + + + + {{ title }} + + + +

{{ title }}

+

{{ date }}

+ + {{ body|safe }} + + + -- cgit v1.2.3-70-g09d2