diff options
author | tummychow <tummychow@users.noreply.github.com> | 2016-01-02 06:02:28 +0300 |
---|---|---|
committer | tummychow <tummychow@users.noreply.github.com> | 2016-01-02 06:02:52 +0300 |
commit | 9240acf0bf874dec07a84b8779e736e93bc6a43c (patch) | |
tree | ddc59d95ebd298e75680f7aaf364a920f33dc164 | |
parent | 293b816e592c4c5e77e21e900a18e664b6014d18 (diff) |
Fix posts permalink
-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 }} |