forked from Hostea/website
38 lines
1.2 KiB
HTML
38 lines
1.2 KiB
HTML
|
{% extends "base.html" %} {% block meta %}
|
||
|
|
||
|
{% set title = taxonomy.name %}
|
||
|
{% set description = title %}
|
||
|
{{ macros::get_meta_tags(title=title, description=description) }}
|
||
|
|
||
|
|
||
|
|
||
|
{% endblock meta %} {% block content %}
|
||
|
|
||
|
|
||
|
<div class="blog__container">
|
||
|
<ul class="blog__list">
|
||
|
{% for term in terms %}
|
||
|
<li class="tag__item">
|
||
|
<a href="{{ term.permalink | safe }}" class="tag__item-link">
|
||
|
<h2 class="tag__item-title">#{{ term.name }}</h2>
|
||
|
{% set length = term.pages | length %}
|
||
|
{% set entry = "entries" %}
|
||
|
{% if length == 1 %}
|
||
|
{% set entry = "entry" %}
|
||
|
{% endif %}
|
||
|
<span class="tag__meta">{{ term.pages | length }} {{ entry }}</span>
|
||
|
</a>
|
||
|
<a class="tag__rss-link" href="{{ term.permalink }}atom.xml" target="_blank" rel="noopener" title="RSS">
|
||
|
<img
|
||
|
src="{{ get_url(path='/icons/rss.svg', cachebust=true) }}"
|
||
|
class="tag__rss-icon"
|
||
|
alt="RSS icon"
|
||
|
/>
|
||
|
</a>
|
||
|
</li>
|
||
|
</a>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endblock content %}
|