Skip to content

Commit

Permalink
Fix posts permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tummychow committed Jan 2, 2016
1 parent 293b816 commit 9240acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9240acf

Please sign in to comment.