_includes/shorts/picture.html in jekyll-swift-theme-0.3.0 vs _includes/shorts/picture.html in jekyll-swift-theme-0.3.1
- old
+ new
@@ -1,11 +1,5 @@
{% assign image = "/assets/images/" | append: include.normalPath %}
-{% assign darkImage = "/assets/images/" | append: include.normalPath %}
-{% if include.darkPath %}
- {% assign darkImage = "/assets/images/" | append: include.darkPath %}
-{% endif %}
-
<picture class="nav-logo">
- <source srcset="{{ darkImage | relativePath }}" media="(prefers-color-scheme: dark)">
<img srcset="{{ image | relativePath }}" alt="{{ include.alt }}">
</picture>
\ No newline at end of file