{% from 'macros.html' import preview, featured_content %} {% extends "base.html" %} {% set page_border = 0 %} {% if ismod() %} {# Little hack to not show annoucements twice #} {% set min_announcement_level = 999 %} {% else %} {% set min_announcement_level = 0 %} {% endif %} {% block content %} {% if ismod() %}
{% for msg in get_announcements() %} {% endfor %}
{% endif %}
{% for item in featured %}

{{ moderator_editor(('featured',item.id,'title'), item.title) }} {{ moderator_checkbox(('featured',item.id,'visible'), item.visible) }} {% if ismod() %}
{% if (loop.first or featured[loop.index0-1].order != item.order) and (loop.last or featured[loop.index0+1].order != item.order) %} {% if not loop.first %} {% else %} {% endif %} {% if not loop.last %} {% else %} {% endif %} {% else %} {% endif %} {{ moderator_delete(['featured',item.id,'deleted']) }}
{% endif %}

{{ featured_content(item) }}
{% endfor %}

Nächste Aufnahmen

{% if upcomming|length > 0 %}
    {% for g in upcomming|groupby('date') %}
  • {% endfor %}
{% else %}

In den nächsten 7 Tagen wird noch nichts aufgenommen oder gestreamt.

{% endif %}

Neueste Videos

    {% for i in latestvideos %} {{ preview(i) }} {% endfor %}
{% endblock %}