1
0
Fork 0

fix: Added MIME types to images

This commit is contained in:
Benedikt Bastin 2021-04-04 23:34:13 +02:00
parent a901fd5c53
commit 082a552fd3
1 changed files with 2 additions and 2 deletions

View File

@ -176,8 +176,8 @@
{% for fig in figures %}
<figure>
<picture>
<source srcset="{{ fig['filename']}}.svg" alt="{{ fig['caption']}}" />
<img src="{{ fig['filename'] }}.png" alt="{{ fig['caption'] }}" />
<source type="image/svg+xml" srcset="{{ fig['filename']}}.svg" alt="{{ fig['caption']}}" />
<img type="image/png" src="{{ fig['filename'] }}.png" alt="{{ fig['caption'] }}" />
</picture>
<figcaption>
<a name="figure-{{ '{:03d}'.format(fig['index']) }}"><span class="ref">Abbildung {{ fig['index'] }}:</span></a>