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>
35 <div class="rightPart">
36 <h1 class="top">{% trans 'Focus' %}</h1>
40 <form method="post" action="{% url 'newsletter-subscribe' %}"
41 class="marged" id="subscribe-form">
42 <p>{% trans 'Every Monday, the news of the Panik week:' %}</p>
43 <input required name="email" type="email" placeholder="votre adresse email">
44 <button>{% trans 'Subscribe' %}</button>
50 <div id="recent-news">
51 <h3 class="sectionLabel right"><a href="{% url 'newsArchives' %}">Toutes</a></h3>
52 <h3 class="sectionLabel"><a href="{% url 'news' %}">{% trans 'Latest News' %}</a> <a class="button icon-rss inBlock" href="{% url 'atom-feed' %}"></a></h3>
53 <ul class="custom list">
54 {% for content in newsitems %}
55 <li class="item">{% news_inline %}</li>
64 <div id="recent-sounds">
65 <h3 class="sectionLabel right"><a href="{% url 'listenArchives' %}">Tous</a></h3>
66 <h3 class="sectionLabel"><a href="{% url 'listen' %}">{% trans 'Latest Sounds' %}</a> <a class="button icon-rss inBlock" href="{% url 'podcasts-feed' %}"></a></h3>
67 <ul class="custom list">
68 {% for soundfile in soundfiles %}
69 <li class="item {% for category in soundfile.episode.emission.categories.all %} {{ category|slugify }}{% endfor %}">
70 {% soundfile_resume soundfile=soundfile date=soundfile.first_diffusion %}
78 <div id="recent-emissions">
79 <h3 class="sectionLabel right"><a href="{% url 'emissions' %}">Toutes</a></h3>
80 <h3 class="sectionLabel">{% trans 'New emissions' %}</h3>
81 <ul class="custom list padded">
82 {% for emission in emissions %}