Sha256: d196ce20fb91af5b09d3a04e2ae9a44d6419f2b55920e44795997a1ba4a8fbe3
Contents?: true
Size: 648 Bytes
Versions: 26
Compression:
Stored size: 648 Bytes
Contents
{% assign images = include.images | split: ',' %} {% if include.column == "auto" %} {% assign column = 100.0 | divided_by: images.size %} {% elsif include.column > 0 %} {% assign column = 100.0 | divided_by: include.column %} {% endif %} <div class="row"> {% for image in images %} <div {% if column %} style="flex: {{ column }}%" {% else %} class="column" {% endif %} > <img {% if images.size == 1 %}class="single"{% endif %} src="{{ image | prepend: 'assets/img/' | relative_url }}" alt="{{ image | prepend: '/' | split: '/' | last }}"> </div> {% endfor %} </div> {% assign column = false %}
Version data entries
26 entries across 26 versions & 1 rubygems