Fix categories links on index
This commit is contained in:
parent
a10e798c8c
commit
7fc60d83a4
2 changed files with 4 additions and 1 deletions
|
@ -17,3 +17,6 @@ h1 img {
|
||||||
margin-bottom: var(--gap);
|
margin-bottom: var(--gap);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
#categories > a > i {
|
||||||
|
margin-right: .5rem;
|
||||||
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
<h2>Catégories</h2>
|
<h2>Catégories</h2>
|
||||||
<div id="categories">
|
<div id="categories">
|
||||||
{% for cat in 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 %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue