Sha256: bf3e1ae48dc787d04b9eaf2f548ec2bbb5a412177871e4f821b06ca2e719d35c

Contents?: true

Size: 656 Bytes

Versions: 7

Compression:

Stored size: 656 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>{% if namespace != "" %}<span class="namespace">{{ namespace }}:</span> {% endif %}{{ tag_human }}</li>
    {% endfor %}
  </ul>
{% endif %}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jekyll-theme-open-project-1.2.2 _includes/tag-list.html
jekyll-theme-open-project-1.2.1 _includes/tag-list.html
jekyll-theme-open-project-1.2 _includes/tag-list.html
jekyll-theme-open-project-1.1.27 _includes/tag-list.html
jekyll-theme-open-project-1.1.26 _includes/tag-list.html
jekyll-theme-open-project-1.1.25 _includes/tag-list.html
jekyll-theme-open-project-1.1.24 _includes/tag-list.html