diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-11-28 23:52:40 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-11-28 23:58:31 +0100 |
commit | b2845952da634202be913fdf0e68e6cb55b67d80 (patch) | |
tree | 4815312c6bb33da58eab7fd87dbe07f1639bb686 /templates/article.html | |
download | moeka-b2845952da634202be913fdf0e68e6cb55b67d80.tar.gz moeka-b2845952da634202be913fdf0e68e6cb55b67d80.tar.bz2 moeka-b2845952da634202be913fdf0e68e6cb55b67d80.zip |
Initial commit
Diffstat (limited to 'templates/article.html')
-rw-r--r-- | templates/article.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/article.html b/templates/article.html new file mode 100644 index 0000000..27f23e9 --- /dev/null +++ b/templates/article.html @@ -0,0 +1,35 @@ +{% extends "base.html" %} + +{% block content %} +<div class="article post" role="article" lang="{{ article.lang }}"> + <article> + <h1 class="topmost">{{ article.title }}</h1> + + {# Article meta information #} + <p class="article-meta"> + <time datetime="{{ article.date }}"> + {{ article.date | strftime("%B %d, %Y") }} + </time> + in + <a href="{{ SITEURL }}/{{ article.category.url }}"> + {{ article.category.name }} + </a> + </p> + + + <div class="tags"> + <ul class="tags"> + {% for tag in article.tags %} + <li> + <a href="{{ SITEURL }}/ {{ tag.url }}">{{ tag.name }}</a> + </li> + {% endfor %} + </ul> + </div> + + <div class="content"> + {{ article.content | safe }} + </div> + </article> +</div> +{% endblock %} |