diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-05-30 20:07:21 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-05-30 20:07:21 +0200 |
commit | 164c306795577ec7667d338c28a7544bbb8c241b (patch) | |
tree | 3607fdeaeeee57505fa547041a4cfd33a827abca /templates/page.html | |
download | rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.gz rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.tar.bz2 rabalderz-164c306795577ec7667d338c28a7544bbb8c241b.zip |
et up baseic structure for homepage/blog with Zola
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..56317a7 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% block content %} +<article class="post"> + <h1>{{ page.title }}</h1> + <div class="meta"> + <span class="meta-publish"> + Publisert: {{ page.date }} + {% if page.author %}av {{ page.author }}{% endif %} + </span> + <span class="meta-tags"> + Merket: {{ page.taxonomies['tags'] | join(sep=", ") }} + </span> + </div> + {{ page.content | safe }} +</article> +{% endblock content %} |