summaryrefslogtreecommitdiff
path: root/themes/nojs/templates/page.html
blob: 4570d478d44ebcffbaf51a3f9394382d2cf5f035 (plain)
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 html_lang %}{{ page.lang }}{% endblock %}

{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%}

{% block head %}
  {{ super() }}

  {% import 'translations.html' as translations with context %}
  {% if translations.entry_hreflang(page) %}
    {{ translations.entry_hreflang(page) }}
  {% endif %}
{% endblock %}

{% block content %}
<section id="content" class="body">
  <h2>{{ page.title }}</h2>
  {% import 'translations.html' as translations with context %}
  {{ translations.translations_for(page) }}

  {{ page.content }}

  {% if page.modified %}
  <p>
    Last updated: {{ page.locale_modified }}
  </p>
  {% endif %}
</section>
{% endblock %}