forked from varia/varia.website
second attempt to get the stream section to work
This commit is contained in:
parent
b84d6b7201
commit
e43e41caf5
@ -1,25 +1,28 @@
|
||||
{% extends "page.html" %}
|
||||
|
||||
{% if page.slug == 'stream' %}
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ page.title }}{%endblock%}
|
||||
|
||||
{% block content %}
|
||||
<section id="content" class="index">
|
||||
|
||||
{{ pages }}
|
||||
|
||||
<div>streaming...</div>
|
||||
|
||||
{% 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(/stream/{{ img }})"></div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
</section>
|
||||
{% endblock %}
|
||||
<div id="page-content-stream">
|
||||
{{ page.content }}
|
||||
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user