]> git.0d.be Git - panikweb.git/commitdiff
add custom title for 2018 archives
authorFrédéric Péters <fpeters@0d.be>
Wed, 1 Aug 2018 09:46:00 +0000 (11:46 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 1 Aug 2018 09:46:00 +0000 (11:46 +0200)
panikweb_templates/templates/archives.html

index ca0664421376b664a291d225ac1152fcf0a3649f..8c294024f1aa6c6d6fced80d1a360b366c117282 100644 (file)
@@ -12,7 +12,8 @@
 {% regroup diffusions by datetime|date:"Y" as diffusions_by_year %}
 {% for diffusion_group in diffusions_by_year %}
 <h2 class="archives">
-        {% if diffusion_group.grouper == "2017" %}Réécoutez 2017 !
+        {% if diffusion_group.grouper == "2018" %}2018 on y est !
+        {% elif diffusion_group.grouper == "2017" %}Réécoutez 2017 !
         {% elif diffusion_group.grouper == "2016" %}Revivez 2016 !
         {% elif diffusion_group.grouper == "2015" %}Retournez en 2015 !
         {% elif diffusion_group.grouper == "2014" %}Redécouvrez 2014 !