2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

pack together tags / categories

This commit is contained in:
Matthias Mair 2023-01-28 00:36:22 +01:00
parent 841417896b
commit 5ab522b924
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -69,20 +69,20 @@ fullwith: true
<div>
<h4 class="plugin_links">Categories</h4>
<ul class="list-unstyled font-normal">
<div>
{% for categorie in page.categories %}
<li><a href="/categories/#{{ categorie | slugify }}"><span class="badge bg-yellow-500">{{ categorie }}</span></a></li>
<a href="/categories/#{{ categorie | slugify }}"><span class="badge bg-yellow-500 whitespace-nowrap">{{ categorie }}</span></a>
{% endfor %}
</ul>
</div>
</div>
<div>
<h4 class="plugin_links">Tags</h4>
<ul class="list-unstyled font-normal">
<div>
{% for tag in page.tags %}
<li><a href="/tags/#{{ tag | slugify }}"><span class="badge bg-blue-400">{{ tag }}</span></a></li>
<a href="/tags/#{{ tag | slugify }}"><span class="badge bg-blue-400 whitespace-nowrap">{{ tag }}</span></a>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>