summaryrefslogtreecommitdiff
path: root/spice-space/templates/page.html
blob: 670f0612c7cced8a38b549c1f8fdd5ac31ec108b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}
{% block title %}{{ page.title }}{% endblock %}
{% block content %}
<section id="content" class="body">
    <h1 class="entry-title">{{ page.title }}</h1>
	{% if page.submenu and SUBMENUS[page.submenu] %}
	<div>
		<nav>
		<ul>
			{% for title, link in SUBMENUS[page.submenu] %}
			<li><a href="{{ SITEURL }}/{{ link }}">{{ title }}</a></li>
			{% endfor %}
		</ul>
		</nav>
	</div>
	{% endif %}
    {% import 'translations.html' as translations with context %}
    {{ translations.translations_for(page) }}
    {{ page.content }}
</section>
{% endblock %}