diff options
author | leonhe <lhe868@gmail.com> | 2020-06-17 04:58:28 +0300 |
---|---|---|
committer | Yuanfei He <lhe868@gmail.com> | 2020-07-10 18:13:18 +0300 |
commit | 1960520b44a6b7a460d8d759ec1d5e65abb878e9 (patch) | |
tree | dc3a8da3333d57d41f1e6a66139b47e4a4beaad1 | |
parent | 25a0e7364c09d0ddf958fe743b29c3b1bcf9e187 (diff) |
:bug: fix tab label error
-rw-r--r-- | layouts/partials/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 38a4a8f..df34a5e 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -16,7 +16,7 @@ {{ $siteURL:= "/" | absLangURL }} <li {{ if eq $url $siteURL }} class="active" {{end}} ><a href="/">Home</a></li> - <li {{ if eq .Title "Posts" }} class="active" {{end}}> <a href="/post/" >Posts/a></li> + <li {{ if eq .Title "Posts" }} class="active" {{end}}> <a href="/post/" >Posts</a></li> {{ range where site.RegularPages "Type" "in" site.Params.mainSections }} {{ if isset .Params "title" }} {{ $absURL:=.Permalink | absLangURL}} |