summaryrefslogtreecommitdiffstats
path: root/templates/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html18
1 files changed, 5 insertions, 13 deletions
diff --git a/templates/page.html b/templates/page.html
index 5cdf946..49f3cd5 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -1,18 +1,10 @@
{% extends "base.html" %}
{% block content %}
+{% set post = page -%}
<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>
- {% if page.taxonomies %}
- <span class="meta-tags">
- Merket: {{ page.taxonomies['tags'] | join(sep=", ") }}
- </span>
- {% endif %}
- </div>
- {{ page.content | safe }}
+ {% include "posts/header.html" %}
+ <section class="post-body">
+ {{ post.content | safe }}
+ </section>
</article>
{% endblock content %}