Sha256: 44d0fc9ec7ba60afdcd30c6db45e449443099e5551adac28055faf995798f36e

Contents?: true

Size: 1.1 KB

Versions: 22

Compression:

Stored size: 1.1 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 counter2 = counter | modulo: 4 %}
        {% if counter2  == 3 %}
         <p>
        {% endif %}
        {% capture counter %}{% increment counter %} {% endcapture %}


    <text><a href ="{{'/tags'|relative_url}}/{{ item[0]}}.html" >{{ item[0]}}</a></text> &nbsp; &nbsp;
        
        {% endfor %}
    {% else %}
    <ul>
        {% for item in  site.tags %}
        <li>
    <text><a href ="{{ site['baseurl']}}/tags/{{ item[0]}}.html" >{{ item[0]}}</a></text> &nbsp; 
        </li>
        {% endfor %}
    </ul>

    {% endif %}

    
    

     
    
</article>
</div>
 

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
no-style-please2-0.6.3.1 _layouts/tags.html
no-style-please2-0.6.3 _layouts/tags.html