소스 검색

Add alt for img

Add alt in infobox image.
Cqoicebordel 10 년 전
부모
커밋
42692aa2c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      searx/templates/oscar/infobox.html

+ 1
- 1
searx/templates/oscar/infobox.html 파일 보기

@@ -3,7 +3,7 @@
3 3
         <h4 class="panel-title">{{ infobox.infobox }}</h4>
4 4
     </div>
5 5
     <div class="panel-body">
6
-        {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" />{% endif %}
6
+        {% if infobox.img_src %}<img class="img-responsive center-block infobox_part" src="{{ infobox.img_src }}" alt="{{ infobox.infobox }}" />{% endif %}
7 7
         {% if infobox.content %}<p class="infobox_part">{{ infobox.content }}</p>{% endif %}
8 8
 
9 9
         {% if infobox.attributes %}