Sha256: f661783f35d822a26b0d7853a0bdc3ce06ea1b7f72908eacfa4971bf59cdfaa0

Contents?: true

Size: 680 Bytes

Versions: 43

Compression:

Stored size: 680 Bytes

Contents

{% assign num_tags = include.tags | size %}
{% if num_tags > 0 %}
  <ul class="tags">
    {% for tag in include.tags %}
      {% if tag contains ":" %}
        {% assign namespace_id = tag | split: ":" | first %}
        {% assign namespace = site.tag_namespaces[include.item_type][namespace_id] %}
        {% assign tag_human = tag | split: ":" | last | replace: "_", " " %}
      {% else %}
        {% assign tag_human = tag | replace: "_", " " %}
        {% assign namespace = "" %}
      {% endif %}

      <li title="{{ tag_human }}">{% if namespace != "" %}<span class="namespace">{{ namespace }}:</span> {% endif %}{{ tag_human }}</li>
    {% endfor %}
  </ul>
{% endif %}

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
jekyll-theme-open-project-1.2.5 _includes/tag-list.html
jekyll-theme-open-project-1.2.4 _includes/tag-list.html
jekyll-theme-open-project-1.2.3 _includes/tag-list.html