Sha256: 9170a4a90b626ed380979a8fa8c7b80cd1cc04a1b54b6803cfa16944e678876c
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
--- layout: default --- {%-include back_link.html -%} <div class="post"> <h1>{{page.title}}</h1> <article> {% assign layouttype = site.theme_config.tags_layout_style | default: "auto" %} {% if layouttype == 'auto' %} {% if site.tags.size > 20 %} {% assign layouttype = 'flat' %} {% else %} {% assign layouttype = 'list' %} {% endif %} {% endif %} {% if layouttype == 'flat' %} {% assign counter = 0 %} {% for item in site.tags %} {% assign tagname = item[0] %} {% assign counter2 = counter | modulo: 4 %} {% if counter2 == 3 %} <p> {% endif %} {% capture counter %}{% increment counter %} {% endcapture %} <text><a href ="{{'/tags'|relative_url}}/{{ tagname}}.html" >{{ tagname}}</a> <sup>{{ site.tags[tagname].size }}</sup></text> {% endfor %} {% else %} <ul class="postlistul" > {% for item in site.tags %} {% assign tagname = item[0] %} <li class="postlistli"> <text> <a href ="{{ site['baseurl']}}/tags/{{ item[0]}}.html" >{{ tagname}}</a> <sup> {{ site.tags[tagname].size }} </sup> </text> </li> {% endfor %} </ul> {% endif %} </article> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-zeta-0.2.2 | _layouts/tags.html |