Sha256: 4e7deca2029c2109c90ee6eb4fa75c42cfa0a7eac93805f4f5276b52e81cb2ef
Contents?: true
Size: 1.4 KB
Versions: 3
Compression:
Stored size: 1.4 KB
Contents
--- title: Tags layout: default --- <div class="g-banner tags-banner {{ site.postPatterns | prepend: 'post-pattern-' }}" 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 }}#{{ 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>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-h2o-ac-1.5.0 | _layouts/tags.html |
jekyll-theme-h2o-ac-1.4.0 | _layouts/tags.html |
jekyll-theme-h2o-ac-1.3.6 | _layouts/tags.html |