d3c3nt

[DORMANT] a fairly decent theme for the zola static site engine
git clone git://git.figbert.com/d3c3nt.git
Log | Files | Refs | README | LICENSE

image.html (299B)


      1 <picture>
      2   {% for source in sources -%}
      3     {% set type = source | split(pat=".") | last -%}
      4     <source srcset="{{ config.base_url | safe}}{{ page.path | safe }}{{ source | safe }}" type="{{ 'img/' ~ type }}">
      5   {% endfor -%}
      6   <img src="{{ fallback_path }}" alt="{{ fallback_alt }}"/>
      7 </picture>