]> git.0d.be Git - panikweb.git/blobdiff - panikweb_templates/templates/archives.html
templates: add anchors to archive years
[panikweb.git] / panikweb_templates / templates / archives.html
index bb46ab74f17fa373a45fae7b51becadbe40003aa..f8b92ffd88e45ec06d474ecd259fde15551248d0 100644 (file)
@@ -11,7 +11,7 @@
 
 {% regroup diffusions by datetime|date:"Y" as diffusions_by_year %}
 {% for diffusion_group in diffusions_by_year %}
-<h3 class="archives">
+<h3 class="archives" id="archive-{{diffusion_group.grouper}}">
         {% if diffusion_group.grouper == "2019" %}2019 c'est encore chaud !
         {% elif diffusion_group.grouper == "2018" %}L'énergie de 2018 !
         {% elif diffusion_group.grouper == "2017" %}Réécoutez 2017 !