Add img alt attributes

This commit is contained in:
Jonathan Rehm
2017-07-28 20:01:31 -07:00
parent 0afc8f94da
commit 5162e2eed7
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -5,9 +5,9 @@
<div class="col-sm-3 col-lg-3 col-xs-5">
<div class="cover">
{% if entry.has_cover %}
<img src="{{ url_for('get_cover', cover_path=entry.path.replace('\\','/')) }}" />
<img src="{{ url_for('get_cover', cover_path=entry.path.replace('\\','/')) }}" alt="{{ entry.title }}" />
{% else %}
<img src="{{ url_for('static', filename='generic_cover.jpg') }}" />
<img src="{{ url_for('static', filename='generic_cover.jpg') }}" alt="{{ entry.title }}" />
{% endif %}
</div>
</div>