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

41 lines
986 B
HTML

{% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}
{% block content %}
<section id="content" class="index">
<header id="banner">
{% for p in pages %}
<!-- header -->
{% if p.title == 'header' %}
<div id="title">{{ p.content }}</div>
{% endif %}
{% endfor %}
</header>
</section>
<div id="page-content">
{{ page.content }}
{% 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 %}
<a href="https://vvvvvvaria.org/stream/{{ img }}"><div class="container" style="background-image: url(https://vvvvvvaria.org/stream/{{ img }})"></div></a>
{% endfor %}
</div>
{% endif %}
{% endfor %}
</div>
{% endblock %}