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

42 lines
904 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>
{% for page in pages %}
{{ page.slug }}
{% if page.slug == 'stream' %}
!!!
{{ page.stream }}
{% for img in page.stream %}
{{ img }}
<div class="container" style="background-image: url(/stream/{{ img }})"></div>
{% endfor %}
{% endif %}
{% endfor %}
{% endblock %}