forked from aaranxu/tale-zola
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.html
29 lines (27 loc) · 941 Bytes
/
page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{% extends "base.html"%}
{% block content %}
<article class="post">
<section class="post-info">
{% if page.extra.author -%}
<span>Written by</span> {{ page.extra.author }}<br />
{% elif config.extra.author -%}
<span>Written by</span> {{ config.extra.author }}<br />
{%- endif %}
<span>on </span><time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat |
default(value="%B
%e, %Y"))}}</time>
</section>
<h1 class="post-title">{{ page.title }}</h1>
<section class="post-line"></section>
{{ page.content | safe }}
</article>
<section class="pagination">
{% if page.higher -%}
<a href="{{ page.higher.permalink | safe }}" class="left arrow">←</a>
{%- endif %}
{% include "partials/back-to-top.html" %}
{% if page.lower -%}
<a href="{{ page.lower.permalink | safe }}" class="right arrow">→</a>
{%- endif %}
</section>
{% endblock content %}