Sha256: ca156dfda1446f6f98211d73548a1eedfce365edb83fdb98f78435cb64877de8

Contents?: true

Size: 577 Bytes

Versions: 13

Compression:

Stored size: 577 Bytes

Contents

{% assign images = include.images | split:" " %}
{% assign caption = include.caption %}
{% assign cols = include.cols %}

{% case cols %}
    {% when 1 %}
        {% assign class = "" %}
    {% when 2 %}
        {% assign class = "half" %}
    {% when 3 %}
        {% assign class = "third" %}
    {% else %}
        {% assign class = "" %}
{% endcase %}

<figure {% if class != "" %}class="{{ class }}"{% endif %}>
    {% for image in images %}
    <a href="{{ image }}"><img src="{{ image }}" alt=""></a>
    {% endfor %}
    <figcaption>{{ caption }}</figcaption>
</figure>

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
cosy-jekyll-theme-2.0.0 _includes/gallery
cosy-1.0.0 _includes/gallery
cosy-jekyll-1.0.0 _includes/gallery
cosy-jekyll-theme-1.1.1 _includes/gallery
cosy-jekyll-theme-1.1.0 _includes/gallery
cosy-jekyll-theme-1.0.8 _includes/gallery
cosy-jekyll-theme-1.0.7 _includes/gallery
cosy-jekyll-theme-1.0.6 _includes/gallery
cosy-jekyll-theme-1.0.5 _includes/gallery
cosy-jekyll-theme-1.0.4 _includes/gallery
cosy-jekyll-theme-1.0.3 _includes/gallery
neo-hpstr-jekyll-theme-1.0.1 _includes/gallery
neo-hpstr-jekyll-theme-1.0.0 _includes/gallery