Style tags taxonomy list page

This commit is contained in:
timvisee 2019-07-01 20:58:02 +02:00
parent b16c6b4180
commit dec4ab16f2
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
2 changed files with 10 additions and 1 deletions

View File

@ -327,3 +327,9 @@ footer {
.anchor:focus { .anchor:focus {
opacity: 1; opacity: 1;
} }
ul {
list-style-type: disclosure-closed;
list-style-position: inside;
padding-left: 0;
}

View File

@ -8,7 +8,10 @@
{% if terms %} {% if terms %}
<ul> <ul>
{% for term in terms %} {% for term in terms %}
<li><a href="{{ term.permalink | safe }}">{{ term.name }}</a> ({{ term.pages | length }})</li> <li>
<a href="{{ term.permalink | safe }}" class="tag">{{ term.name }}</a>:
{{ term.pages | length }} article{{ term.pages | length | pluralize }}
</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}