]> git.0d.be Git - panikweb.git/commitdiff
templates: add empty alt attributes to newsroll images
authorFrédéric Péters <fpeters@0d.be>
Wed, 22 Apr 2020 19:28:47 +0000 (21:28 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 22 Apr 2020 19:28:47 +0000 (21:28 +0200)
panikweb_templates/templates/news/roll.html

index dde2a92e918c38833746381df76916d5e03d453d..8f33e2f839b6aa109d5089648de9dba2366e85ef 100644 (file)
@@ -29,7 +29,7 @@
                                    <li style="width:30%;" class="num-{{ forloop.counter }} padded">
                                            <button class="inBlock" data-about="#newsRollId-{{ focus.id }}">
                                                    {% thumbnail focus.content_image "160x120" crop="50% 25%" as im %}
                                    <li style="width:30%;" class="num-{{ forloop.counter }} padded">
                                            <button class="inBlock" data-about="#newsRollId-{{ focus.id }}">
                                                    {% thumbnail focus.content_image "160x120" crop="50% 25%" as im %}
-                                                   <img style="width:95%;" src="{{im.url}}" />
+                                                   <img alt="" style="width:95%;" src="{{im.url}}" />
                                                    {% endthumbnail %}
                                            </button>
                                    </li>
                                                    {% endthumbnail %}
                                            </button>
                                    </li>