Skip to content

Commit b66a6d1

Browse files
Add active class to second navigation element
As discussed here: realpython/tutorial-drafts#304 (comment)
1 parent 38cdf07 commit b66a6d1

File tree

1 file changed

+1
-1
lines changed
  • rp-portfolio/personal_portfolio/templates

1 file changed

+1
-1
lines changed

rp-portfolio/personal_portfolio/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<li class="nav-item active">
1313
<a class="nav-link" href="{% url 'project_index' %}">Home</a>
1414
</li>
15-
<li class="nav-item">
15+
<li class="nav-item active">
1616
<a class="nav-link" href="{% url 'blog_index' %}">Blog</a>
1717
</li>
1818
</ul>

0 commit comments

Comments
 (0)