Skip to content

Commit

Permalink
Lesson breadcrumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilanchal Panigrahy committed Dec 21, 2023
1 parent 7a9e3b5 commit b5a1c4a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bloggy/templates/pages/single/lesson.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% endblock jsonld %}
{% spaceless %}
{% block content %}
{% include 'partials/home_article_breadcrumb.html' %}
{% include 'partials/home_lesson_breadcrumb.html' %}
<div class="container mt-lg-5 mt-md-3">
<div class="row">
<main id="main-content" class="hero col-12 col-md-9 col-lg-9 col-print-12 pe-lg-2">
Expand Down
8 changes: 4 additions & 4 deletions bloggy/templates/partials/home_lesson_breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
<nav aria-label="breadcrumb">
<ol class="breadcrumb m-0">
<li class="breadcrumb-item">
<a href="{% url 'index' %}">Home</a>
<a href="{% url 'index' %}" class=" font-sm fw-500">Home</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'courses' %}">Courses</a>
<a href="{% url 'courses' %}" class=" font-sm fw-500">Courses</a>
</li>
<li class="breadcrumb-item">
<a href="{% url 'courses_single' slug=course.slug %}">{{ guide.title }}</a>
<a href="{% url 'courses_single' slug=course.slug %}" class=" font-sm fw-500">{{ course.title }}</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
<span>{{ post.title }}</span>
<span class=" text-muted font-sm fw-500">{{ post.title }}</span>
</li>
</ol>
</nav>
Expand Down

0 comments on commit b5a1c4a

Please sign in to comment.