aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/post.html')
-rw-r--r--theme/templates/post.html18
1 files changed, 10 insertions, 8 deletions
diff --git a/theme/templates/post.html b/theme/templates/post.html
index 8cc9e2e..018068e 100644
--- a/theme/templates/post.html
+++ b/theme/templates/post.html
@@ -6,14 +6,16 @@
<meta property="og:description" content="{{ post.description }}" />
{% elif project_description is defined %}
<meta property="og:description" content="{{ project_description }}" />
-{% endif %} {% endblock %} {% block main %}
+{% endif %}
+{% endblock %}
+{% block main %}
<article>
- <section class="metadata">
- <b>Object</b> <span>{{ post.title }}</span>
- <b>Timestamp</b> <span><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d %H:%M:%S") }}</time></span>
- <b>Summary</b> <span>{{ post.description }}</span>
- </section>
- <section>{{ post.html | safe }}</section>
- <div class="reply-link"><a href="mailto:[email protected]">Reply via email &rarr;</a></div>
+ <p class="article-dateline"><time datetime='{{ post.date|strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time></p>
+ <h1 class="article-title">{{ post.title }}</h1>
+ {% if post.description is defined %}
+ <p class="article-standfirst">{{ post.description }}</p>
+ {% endif %}
+ <div class="article-body">{{ post.html | safe }}</div>
+ <div class="reply-link"><a href="mailto:[email protected]">Reply via email &rarr;</a></div>
</article>
{% endblock %}