1 {% extends "base.html" %}
2 {% load paniktags staticfiles i18n %}
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": "http://www.radiopanik.org",
13 "name" : "Radio Panik",
15 "@type": "SearchAction",
16 "target": "http://www.radiopanik.org/recherche/?q={search_term_string}",
17 "query-input": "required name=search_term_string"
25 <div class="sided wrapper navigation" id="specialHome">
27 <div class="leftPart">
28 <h1 class="top"><a href="{% url 'grid' %}">{% trans 'Program' %}</a></h1>
29 <h2 class="bg-title"><a href="{% url 'program' %}">{% trans 'This week on Panik' %}</a></h2>
34 <form method="post" action="{% url 'newsletter-subscribe' %}"
35 class="marged" id="subscribe-form">
36 <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
37 {{ newsletter_form.as_table }}
38 <button>{% trans 'Subscribe' %}</button>
42 <div class="rightPart">
43 <h1 class="top">{% trans 'Focus' %}</h1>
48 <div id="recent-news">
49 <h3 class="sectionLabel right"><a href="{% url 'newsArchives' %}">Toutes</a></h3>
50 <h3 class="sectionLabel"><a href="{% url 'news' %}">{% trans 'Latest News' %}</a> <a class="button icon-rss inBlock" href="{% url 'atom-feed' %}"></a></h3>
51 <ul class="custom list">
52 {% for content in newsitems %}
53 <li class="item">{% news_inline %}</li>
62 <div id="recent-sounds">
63 <h3 class="sectionLabel right"><a href="{% url 'listenArchives' %}">Tous</a></h3>
64 <h3 class="sectionLabel"><a href="{% url 'listen' %}">{% trans 'Latest Sounds' %}</a> <a class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h3>
65 <ul class="custom list">
66 {% for soundfile in soundfiles %}
67 <li class="item {% for category in soundfile.episode.emission.categories.all %} {{ category|slugify }}{% endfor %}">
68 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}
76 <div id="recent-emissions">
77 <h3 class="sectionLabel right"><a href="{% url 'emissions' %}">Toutes</a></h3>
78 <h3 class="sectionLabel">{% trans 'New emissions' %}</h3>
79 <ul class="custom list padded">
80 {% for emission in emissions %}