forked from aio-libs/aio-libs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.html
More file actions
29 lines (25 loc) · 699 Bytes
/
page.html
File metadata and controls
29 lines (25 loc) · 699 Bytes
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 "!simple/page.html" %}
{% block content %}
<article>
<header>
<h2>{{ page.title }}</h2>
</header>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% if page.links %}
<div class="aio-post-links">
{% for link in page.links %}
<a class="aio-post-links__item" href="{{ link.partition("=")[2] }}">{{ link.partition("=")[0] }}</a>
{% endfor %}
</div>
{% endif %}
{{ page.content }}
{% if page.modified %}
<footer>
<p>
Last updated: {{ page.locale_modified }}
</p>
</footer>
{% endif %}
</article>
{% endblock %}