Commit c6e58544 authored by Jacek Lebioda's avatar Jacek Lebioda

fix: use jpg for safari, webp for others

parent 497023c2
......@@ -22,9 +22,12 @@ layout: default
<div class="index-photo">
<picture>
<source media="(min-width: 200px)" srcset="{{ '/assets/cover_big.webp' | relative_url }}" alt="Elixir Luxembourg" />
<source media="(max-width: 200px)" srcset="{{ '/assets/cover_small.webp' | relative_url }}" alt="Elixir Luxembourg" />
<img src="{{ '/assets/cover_small.webp' | relative_url }}" alt="Elixir Luxembourg" />
<source media="(min-width: 200px)" srcset="{{ '/assets/cover_big.webp' | relative_url }}" type="image/webp" alt="Elixir Luxembourg" />
<source media="(max-width: 200px)" srcset="{{ '/assets/cover_small.webp' | relative_url }}" type="image/webp" alt="Elixir Luxembourg" />
<source media="(min-width: 200px)" srcset="{{ '/assets/cover_big.jpg' | relative_url }}" type="image/jpeg" alt="Elixir Luxembourg" />
<source media="(max-width: 200px)" srcset="{{ '/assets/cover_small.jpg' | relative_url }}" type="image/jpeg" alt="Elixir Luxembourg" />
<img src="{{ '/assets/cover_small.jpg' | relative_url }}" type="image/jpeg" alt="Elixir Luxembourg" />
</picture>
</div>
</div>
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme"
spec.version = "0.9.18"
spec.version = "0.9.19"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment