Sha256: 5c00737f118aa42d7553fe1d3d54c8c2d6eb9e2c9ef6833dc27d476658524068
Contents?: true
Size: 906 Bytes
Versions: 12
Compression:
Stored size: 906 Bytes
Contents
{% assign tags = include.tags %} {% assign meta = include.meta %} {% assign start_with = include.start_with %} {% assign separator = include.separator %} {% assign end_with = include.end_with %} {% assign content = '' %} {% if tags.size > 0 %} {% assign content = start_with %} {% for tag_slug in tags %} {% capture iter_separator %}{% if forloop.last %}{{ end_with }}{% else %}{{ separator }}{% endif %}{% endcapture %} {% assign tag = meta | where: "slug", tag_slug | first %} {% if tag %} {% capture content_temp %}{{ content }}<a href="{{ tag.url | relative_url }}" data-flip="title">{{ tag.title }}</a>{{ iter_separator }}{% endcapture %} {% else %} {% capture content_temp %}{{ content }}<span>{{ tag_slug | capitalize }}</span>{{ iter_separator }}{% endcapture %} {% endif %} {% assign content = content_temp %} {% endfor %} {% endif %} {{ content }}
Version data entries
12 entries across 12 versions & 1 rubygems