i have misunderstood how srcset works
This commit is contained in:
parent
1a9753db49
commit
2b0d357385
|
@ -17,9 +17,11 @@
|
|||
<header>
|
||||
<h1>
|
||||
<a href="{{url_for('index')}}">
|
||||
<img src="{{ st('logotype-200.png') }}" alt="Forget" width=200 srcset="{% for width in (200,400,600,800) -%}
|
||||
{{ st('logotype-{}.png'.format(width)) }} {{width}}w,
|
||||
{%- endfor %}"/>
|
||||
<img src="{{ st('logotype-200.png') }}" alt="Forget" width='200px' sizes='200px' srcset="
|
||||
{%- for width in (200,400,600,800) -%}
|
||||
{{ st('logotype-{}.png'.format(width)) }} {{width}}w,
|
||||
{%- endfor -%}
|
||||
"/>
|
||||
</a>
|
||||
</h1>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue