~ane/web

web/_includes/tagcloud.html -rw-r--r-- 442 bytes
adb02267Antoine Kalmbach fix build 6 months ago
                                                                                
1
2
3
4
5
6
7
<div class="card bg-faded ml-3 float-md-right" style="width: 300px">
    {% assign tags = site.tags | sort %}
      <div class="card-body">
        <h4 class="card-title">Tag Cloud</h4>
        {% for tag in tags %} <a href="/tags.html#{{ tag | first | slugify }}" style="font-size: {{ tag | last | size | times: 32 | plus: 50  }}%">{{ tag[0] | replace:'-', ' ' }}{% unless forloop.last %}{% endunless %}</a> {% endfor %}
      </div>
</div>