code/_includes/tagcloud.html
2020-11-21 16:22:46 +08:00

9 lines
214 B
HTML

{% if site.plugins contains "jekyll/tagging" %}
{% assign size = site | tag_cloud | size %}
{% if size != 0 %}
<h2>all tags</h2>
<div class="tag-cloud">{{ site | tag_cloud }}</div>
{% endif %}
{% endif %}