varia.website/themes/varia/templates/page.html

41 lines
932 B
HTML
Raw Normal View History

2017-07-06 14:28:42 +02:00
{% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}
2017-07-06 14:28:42 +02:00
{% block content %}
2018-02-27 08:26:28 +01:00
<section id="content" class="index">
<header id="banner">
{% for p in pages %}
<!-- header -->
2018-02-27 08:26:28 +01:00
{% if p.title == 'header' %}
<div id="title">{{ p.content }}</div>
{% endif %}
2018-02-27 08:26:28 +01:00
{% endfor %}
</header>
</section>
<div id="page-content">
{{ page.content }}
2017-07-06 14:28:42 +02:00
{% if page.modified %}
<p>
Last updated: {{ page.locale_modified }}
</p>
{% endif %}
<!-- {% import 'translations.html' as translations with context %} -->
<!-- {{ translations.translations_for(page) }} -->
{% for page in pages %}
{% if page.slug == 'stream' %}
<div id="stream" class="overview">
{% for img in page.stream %}
<div class="container" style="background-image: url(https://vvvvvvaria.org/stream/{{ img }})"></div>
{% endfor %}
</div>
{% endif %}
{% endfor %}
</div>
2017-07-06 14:28:42 +02:00
{% endblock %}