fix: Added MIME types to images
This commit is contained in:
parent
a901fd5c53
commit
082a552fd3
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue