category
parent
8f91cf0364
commit
9ae766753c
|
@ -4,10 +4,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<link rel="stylesheet" href="{% static "/deps/css/my_css.css"%}">
|
<link rel="stylesheet" href="{% static "/deps/css/my_css.css"%}">
|
||||||
<div id="sidebar" class="categories-sidebar">
|
<div id="sidebar" class="categories-sidebar">
|
||||||
<h3>Категории</h3>
|
<div class="btn-group flex-wrap overflow-hidden rounded-8" role="group" aria-label="Категории">
|
||||||
<div class="btn-group" role="group" aria-label="Категории">
|
|
||||||
{% for c in categories %}
|
{% for c in categories %}
|
||||||
<a href="{{ c.get_absolute_url }}" class="btn btn-secondary {% if category.slug == c.slug %}active{% endif %}">
|
<a href="{{ c.get_absolute_url }}" class="bg-gradient btn btn-secondary rounded-0 {% if category.slug == c.slug %}active{% endif %}">
|
||||||
{{ c.name }}
|
{{ c.name }}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue