aboutsummaryrefslogtreecommitdiff
path: root/weblog/templates
diff options
context:
space:
mode:
Diffstat (limited to 'weblog/templates')
-rwxr-xr-xweblog/templates/weblog/sidebar_categories.html8
-rwxr-xr-xweblog/templates/weblog/weblog.html8
2 files changed, 8 insertions, 8 deletions
diff --git a/weblog/templates/weblog/sidebar_categories.html b/weblog/templates/weblog/sidebar_categories.html
index 7e7fa5c..370d6b8 100755
--- a/weblog/templates/weblog/sidebar_categories.html
+++ b/weblog/templates/weblog/sidebar_categories.html
@@ -1,11 +1,11 @@
{% load i18n %}
{% if categories %}
<h3>{% trans 'Categories' context 'Post categories' %}</h3>
-<div class="list-group weblog-categories">
+<ul class="weblog-categories">
{% for category in categories %}
- <a href="{% url 'weblog:CategoryIndex' category_slug=category.slug %}" class="list-group-item{% if category.slug == selected_cat_slug %} active{% endif %}">
+ <li><a href="{% url 'weblog:CategoryIndex' category_slug=category.slug %}" {% if category.slug == selected_cat_slug %}class="active"{% endif %}>
{{ category.name }}
- </a>
+ </a></li>
{% endfor %}
</div>
-{% endif %} \ No newline at end of file
+{% endif %}
diff --git a/weblog/templates/weblog/weblog.html b/weblog/templates/weblog/weblog.html
index a9acbdf..035ca20 100755
--- a/weblog/templates/weblog/weblog.html
+++ b/weblog/templates/weblog/weblog.html
@@ -5,14 +5,14 @@
{% block blog_block %}
<ul class="breadcrumb">
{% if breadcrumbs %}
- <li class="breadcrumb-item"><a href="{% url 'weblog:Index' %}">{{ blog_title }}</a></li>
+ <li><a href="{% url 'weblog:Index' %}">{{ blog_title }}</a></li>
{% for crumb in breadcrumbs %}
{% if forloop.last %}
- <li class="breadcrumb-item active">{{ crumb.name }}</li>
- {% else %}<li class="breadcrumb-item"><a href="{{ crumb.url }}">{{ crumb.name }}</a></li>{% endif %}
+ <li><a href="#">{{ crumb.name }}</a></li>
+ {% else %}<li><a href="{{ crumb.url }}">{{ crumb.name }}</a></li>{% endif %}
{% endfor %}
{% else %}
- <li class="breadcrumb-item active"><a href="{% url 'weblog:Index' %}">{{ blog_title }}</a></li>
+ <li><a href="{% url 'weblog:Index' %}">{{ blog_title }}</a></li>
{% endif %}
</ul>
<div class="blog-wrapper">