usting <picture> tag

This commit is contained in:
nek0 2015-09-28 19:59:10 +02:00
parent 0fb2e2908e
commit 3bbd29bb8a

View file

@ -7,7 +7,9 @@
<div id="header" class="item image" data-width=#{dataWidth}> <div id="header" class="item image" data-width=#{dataWidth}>
<div class="inner"> <div class="inner">
<a href=@{ir}> <a href=@{ir}>
<img sizes="(min-width: 40em) 80vw, 100vw" srcset="@{pr} 1x, @{ir} 2x" src=@{pr} title=#{mediumTitle medium}> <picture>
<source srcset="@{pr}, @{ir} 2x" media="(min-width: 100px)">
<img srcset="@{pr}, @{ir} 2x" src=@{pr} title=#{mediumTitle medium}>
<div id="header" class="item" data-width="400"> <div id="header" class="item" data-width="400">
<div class="inner"> <div class="inner">