mirror of
https://github.com/boostorg/website-v2.git
synced 2026-02-27 05:32:08 +00:00
#252 Make category link version-sensitive
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
|
||||
<span class="block py-1 px-2 rounded cursor-pointer hover:bg-gray-100">Categories:
|
||||
{% for category in object.categories.all %}
|
||||
<a class="inline text-sky-600" href="{% url 'libraries' %}?category={{ category.slug }}">{{ category.name }}</a>
|
||||
<a class="inline text-sky-600" href="{% url 'libraries' %}?category={{ category.slug }}{% if version %}&version={{ version.slug }}{% endif %}">{{ category.name }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user