Skip to content

Commit

Permalink
possible fix for About highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
mjowen committed Aug 31, 2024
1 parent 5501232 commit f8455d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h2>
</div>

<nav class="sidebar-nav">
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.url }}">About</a>
<a class="sidebar-nav-item{% if page.url == '/' %} active{% endif %}" href="{{ site.url }}">About</a>
{{page.url}}
<a class="sidebar-nav-item{% if {{page.url}} == '/blog/' %} active{% endif %}" href="/blog/">Blog</a>
{{site.baseurl}}
Expand Down

0 comments on commit f8455d4

Please sign in to comment.