1 {% extends "base.html" %}
2 {% load paniktags staticfiles i18n thumbnail %}
3 {% block bodyID %}Home{% endblock %}
4 {% block title %}{% trans 'Home' %}{% endblock %}
8 <script type="application/ld+json">
10 "@context": "http://schema.org",
11 "@type": "Organization",
12 "url": "https://radio-2017.esperanzah.be",
13 "name" : "Radio Esperanzah!"
20 <div class="" id="specialHome">
22 <h1 class="top">Radio Esperanzah! 2017</h1>
26 <h2>{{newsitems.0.title}}</h2>
27 <div>{{newsitems.0.text|safe}}</div>
33 {% for emission in emissions %}
34 <a href="{% url 'emission-view' slug=emission.slug %}">
35 <div class="emission-tile">
37 {% thumbnail emission.image "400x400" crop="50% 50%" as im %}
38 <img src="{{im.url}}">
41 <div class="name"><span>{{emission.title}}</span></div>
46 {% for page in extra_pages %}
47 <a href="{{page.get_online_url}}">
48 <div class="emission-tile">
50 {% thumbnail page.picture "400x400" crop="50% 50%" as im %}
51 <img src="{{im.url}}">
54 <div class="name"><span>{{page.title}}</span></div>