Fix categories links on index

This commit is contained in:
Edgar P. Burkhart 2022-05-26 08:06:10 +02:00
parent a10e798c8c
commit 7fc60d83a4
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
2 changed files with 4 additions and 1 deletions

View File

@ -17,3 +17,6 @@ h1 img {
margin-bottom: var(--gap);
display: inline-block;
}
#categories > a > i {
margin-right: .5rem;
}

View File

@ -58,7 +58,7 @@
<h2>Catégories</h2>
<div id="categories">
{% for cat in categories %}
<a href="{% url 'category' cat.id %}"><i class="fa fa-{{ cat.icon }}"></i> {{ cat }}</a>
<a href="{% url 'category' cat.id %}"><i class="fa fa-{{ cat.icon }}"></i>{{ cat }}</a>
{% endfor %}
</div>
{% endif %}