diff options
-rw-r--r-- | layouts/partials/sidebar.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 39f1455..291c95d 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -10,7 +10,7 @@ <nav class="sidebar-nav"> <a class="sidebar-nav-item {{ if eq .URL "/" }} active {{ end }}" href="/">Home</a> - <a class="sidebar-nav-item {{ if eq .URL "post" }} active {{ end }}" href="/post">Posts</a> + <a class="sidebar-nav-item {{ if eq .URL "/post/" }} active {{ end }}" href="/post">Posts</a> {{ $thisperma := .Permalink }} {{ range .Site.Pages.ByWeight }} |