Browse Source

second attempt to get the stream section to work

master
ccl 5 years ago
parent
commit
e43e41caf5
  1. 41
      themes/varia/templates/stream.html

41
themes/varia/templates/stream.html

@ -1,25 +1,28 @@
{% extends "page.html" %} {% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}
{% if page.slug == 'stream' %}
{% block content %} {% block content %}
<section id="content" class="index"> </section>
<div id="page-content-stream">
{{ pages }} {{ page.content }}
<div>streaming...</div>
{% for page in pages %} {% if page.modified %}
{% if page.slug == 'stream' %} <p>
<div id="stream" class="overview"> Last updated: {{ page.locale_modified }}
{% for img in page.stream %} </p>
<div class="container" style="background-image: url(/stream/{{ img }})"></div>
{% endfor %}
</div>
{% endif %} {% endif %}
{% endfor %} <!-- {% 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 %}
</section> </div>
{% endblock %}
{% endif %} {% endblock %}

Loading…
Cancel
Save