1 {% extends "base.html" %}
2 {% load paniktags static i18n thumbnail %}
3 {% block bodyID %}Home{% endblock %}
4 {% block htmltitle %}{{ radio_long_name }}{% endblock %}
8 <script type="application/ld+json">
10 "@context": "http://schema.org",
11 "@type": "Organization",
12 "url": "https://radio.esperanzah.be",
13 "name" : "Radio Esperanzah!"
20 <div class="" id="specialHome">
25 <h2>{{newsitems.0.title}}</h2>
26 <div>{{newsitems.0.text|safe}}</div>
34 <!-- {% cycle 'style1' 'style2' 'style3' as tilestyle %} -->
36 {% for page in extra_pages_start %}
37 {% include "includes/page-tile.html" with tilestyle=tilestyle %}
38 <!-- {% cycle tilestyle %} -->
41 {% for emission in emissions %}
42 <div class="emission-tile {% if emission.has_focus %}emission-focus{% endif %}">
43 <a href="{% url 'emission-view' slug=emission.slug %}">
44 <div class="image {{ tilestyle }}">
46 {% thumbnail emission.image "450x450" crop="50% 50%" as im %}
47 <img alt="" loading="lazy" src="{{im.url}}">
49 <img alt="" class="empty" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==">
53 <div class="name"><span>{{emission.title}}</span></div>
56 {% if emission.subtitle %}<span>{{ emission.subtitle }}</span>
57 {% elif emission.has_focus %}<span>#podcast</span>{% endif %}
58 {% for schedule in emission.schedule_set.all %}
59 {% if forloop.first and forloop.last %}#{{schedule.datetime|date:"l"}}{% endif %}
61 <!-- <span>#espe{{emission.creation_timestamp|date:"Y"}}</span> -->
64 <!-- {% cycle tilestyle %} -->
67 {% for page in extra_pages_end %}
68 {% include "includes/page-tile.html" %}
69 <!-- {% cycle tilestyle %} -->