Feat: integrate tag_cloud
This commit is contained in:
15
theme/templates/partial/tagcloud.html
Normal file
15
theme/templates/partial/tagcloud.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="tagcloud">
|
||||
<h2>Thèmes</h2>
|
||||
<ul>
|
||||
{% for tag in tag_cloud %}
|
||||
<li class="tag-{{ tag.1 }}">
|
||||
<a href="{{ SITEURL }}/{{ tag.0.url }}">
|
||||
{{ tag.0 }}
|
||||
{% if TAG_CLOUD_BADGE %}
|
||||
<span class="badge">{{ tag.2 }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user