forked from varia/varia.website
37 lines
901 B
HTML
37 lines
901 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) }} -->
|
|
</div>
|
|
|
|
<!-- stream page -->
|
|
{% if page.slug == 'stream' %}
|
|
<div id="stream" class="overview">
|
|
<h1>{{ SITENAME }} stream</h1>
|
|
{% for img in page.fullstream %}
|
|
<div class="container" style="background-image: url(/stream/{{ img }})"></div>
|
|
{% endfor %}
|
|
{% endif%}
|
|
{% endblock %}
|