tagcloud + using uikit 2.27.4 + wip tag-filtering navbar buttons

This commit is contained in:
Lucas Cimon
2017-08-14 03:08:27 +02:00
parent afce114b62
commit 89ff3dee70
15 changed files with 122 additions and 23 deletions

19
templates/tagcloud.html Normal file
View File

@@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block title %}Tag cloud{% endblock %}
{% block description %}{% endblock %}
{% block content %}
<ul class="mg-tagcloud">
{% for tag in tag_cloud if not tag.0.name.startswith('lang:') %}
<li class="mg-cloud-tag mg-cloud-tag-size-{{ tag.1 }}">
<a href="{{ SITEURL }}/{{ tag.0.url }}">
{{ tag.0 }}
{% if TAG_CLOUD_BADGE %}
<span class="mg-cloud-tag-badge">({{ tag.2 }})</span>
{% endif %}
</a>
</li>
{% endfor %}
</ul>
{% endblock %}