Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/tummychow/lanyon-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortummychow <tummychow@users.noreply.github.com>2016-01-02 06:02:28 +0300
committertummychow <tummychow@users.noreply.github.com>2016-01-02 06:02:52 +0300
commit9240acf0bf874dec07a84b8779e736e93bc6a43c (patch)
treeddc59d95ebd298e75680f7aaf364a920f33dc164
parent293b816e592c4c5e77e21e900a18e664b6014d18 (diff)
Fix posts permalink
-rw-r--r--layouts/partials/sidebar.html2
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 }}