-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.html
39 lines (36 loc) · 974 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
30
31
32
33
34
35
36
37
38
39
{%- extends "base.html" %}
{%- block extra_scripts %}
{%- endblock %}
{%- block title %}{{ page.title }} - {{ site.title }}{% endblock %}
{%- block container %}
<div id="header">
<div id="post-nav">
{%- if not default_home_page %}
<a href="{{ site.root }}/">{{ site.title }}</a>
{%- if page.category %}
»
<a href="{{ site.root }}/#{{ page.category }}">{{ page.category }}</a>
{%- endif %}
» {{ page.title }}
<span class="updated">Updated
{% if page.updated %}{{ page.updated }}
{% else %}{{ page.date }}{% endif %}
</span>
{%- endif %}
</div>
</div>
<div class="clearfix"></div>
<div id="content">
{{ page.content }}
{% if page.relation %}
<div class="relation">
Related:
<ul>
{% for r in page.relation %}
<li><a href="{{ site.root }}/{{ r.category }}/{{ r.filename }}">{{ r.title }}</a></li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
{%- endblock %}