Sha256: aef6762f61cd121882e3a02d983ff2c53d4dcc4221a86ba99a438f1b1e9f15bd
Contents?: true
Size: 1.46 KB
Versions: 2
Compression:
Stored size: 1.46 KB
Contents
--- title: Tags layout: default --- {% include header.html %} <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> {% include footer.html %}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-h2o-ac-1.3.0 | _layouts/tags.html |
jekyll-theme-h2o-ac-1.2.1 | _layouts/tags.html |