Skip to content

Commit f900d60

Browse files
Create page.html
1 parent cbf2381 commit f900d60

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

theme/templates/page.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{% extends "!simple/page.html" %}
2+
3+
{% block content %}
4+
<article>
5+
<header>
6+
<h2>{{ page.title }}</h2>
7+
</header>
8+
{% import 'translations.html' as translations with context %}
9+
{{ translations.translations_for(page) }}
10+
11+
{% for link in page.links %}
12+
<a href="{ link.partition("=")[2] }">{ link.partition("=")[0] }</a>
13+
{% endfor %}
14+
15+
{{ page.content }}
16+
17+
{% if page.modified %}
18+
<footer>
19+
<p>
20+
Last updated: {{ page.locale_modified }}
21+
</p>
22+
</footer>
23+
{% endif %}
24+
</article>
25+
{% endblock %}

0 commit comments

Comments
 (0)