Sha256: f5fe7648b21e0b87a597793cb415dc2beb02c7c91ddcd5a5969d8243f518d3c4
Contents?: true
Size: 1.51 KB
Versions: 7
Compression:
Stored size: 1.51 KB
Contents
--- title: Tags layout: default --- {% include header.html %} <div class="g-banner tags-banner {{ site.postPatterns | prepend: 'post-pattern-' }} {{ site.theme-color | prepend: 'bgcolor-' }}" data-theme="{{ site.theme-color }}"> <h2>TAGS</h2> </div> <main class="tags-content"> <ul class="tags-list"> {% assign max_tag_count = 0 %} {% for tag in site.tags %} {% if tag[1].size > max_tag_count %} {% assign max_tag_count = tag[1].size %} {% endif %} {% endfor %} <li> {% for i in (1..max_tag_count) reversed %} {% for tag in site.tags %} {% if tag[1].size == i %} <a href="{{ page.url }}.html#{{ tag[0] }}" class="tag"> {{ tag[0] }}<sup>{{ i }}</sup> </a> {% endif %} {% endfor %} {% endfor %} </li> {% for i in (1..max_tag_count) reversed %} {% for tag in site.tags %} {% if tag[1].size == i %} <li> <span class="tag-name" id="{{ tag[0] }}">「{{ tag[0] }}」</span> {% for post in tag[1] %} <a class="tag-post" href="{{ post.url | relative_url }}" title="{{ post.title }}">{{ post.title }}</a> {% endfor %} </li> {% endif %} {% endfor%} {% endfor%} </ul> </main> {% include footer.html %}
Version data entries
7 entries across 7 versions & 1 rubygems