]> git.0d.be Git - panikweb.git/commitdiff
add custom title for 2019 in archives page
authorFrédéric Péters <fpeters@0d.be>
Wed, 31 Jul 2019 05:56:00 +0000 (07:56 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 31 Jul 2019 05:56:00 +0000 (07:56 +0200)
panikweb_templates/templates/archives.html

index 32d9aae185fd9b4109b1d46653cdb655e9ce1f2e..0f21dd72d34a487f126e3cc269a87fea837c8460 100644 (file)
@@ -12,7 +12,8 @@
 {% regroup diffusions by datetime|date:"Y" as diffusions_by_year %}
 {% for diffusion_group in diffusions_by_year %}
 <h3 class="archives">
-        {% if diffusion_group.grouper == "2018" %}2018 c'est encore chaud !
+        {% if diffusion_group.grouper == "2019" %}2019 c'est maintenant !
+        {% elif diffusion_group.grouper == "2018" %}2018 c'est encore chaud !
         {% elif diffusion_group.grouper == "2017" %}Réécoutez 2017 !
         {% elif diffusion_group.grouper == "2016" %}Revivez 2016 !
         {% elif diffusion_group.grouper == "2015" %}Retournez en 2015 !