From 870b8c99a4bd2aea9de6336a18da8c51504a76a5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 20 Apr 2022 22:37:36 +0200 Subject: [PATCH] a11y: include title in link on homepage --- panikweb_esperanzah/templates/home.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/panikweb_esperanzah/templates/home.html b/panikweb_esperanzah/templates/home.html index 3badbb0..e989614 100644 --- a/panikweb_esperanzah/templates/home.html +++ b/panikweb_esperanzah/templates/home.html @@ -36,14 +36,14 @@
{% thumbnail emission.image "450x450" crop="50% 50%" as im %} - + {% empty %} - + {% endthumbnail %}
-
{{emission.title}}
+
{% if emission.subtitle %}{{ emission.subtitle }} {% elif emission.has_focus %}#podcast{% endif %} @@ -61,14 +61,14 @@
{% thumbnail page.picture "450x450" crop="50% 50%" as im %} - + {% empty %} - + {% endthumbnail %}
-
{{page.title}}
+
{% if page.slug == "interviews" %}#podcast{% endif %}
-- 2.39.2