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

github.com/leonhe/hugo_eiio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon He <lhe868@gmail.com>2019-08-27 08:45:07 +0300
committerLeon He <lhe868@gmail.com>2019-08-27 08:45:07 +0300
commit9f1a15d23a825f6a07a5abf831289bcd788e3be4 (patch)
treedd0a51cb744405b4bf72efb4ebae4a3ae2bb38ed
parentb5b5c3c90447114ff1bc2abae45d947a678c4a7a (diff)
fixed:navigate tags active style not show
-rw-r--r--layouts/partials/nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 93d872b..12b445c 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -24,7 +24,7 @@
{{ end }}
{{ $absURL:=.Permalink | absLangURL}}
- <li {{ if eq $absURL "{{ .Site.BaseURL }}/tags/" }} class="active" {{end}}> <a href="/tags/" >Tags</a></li>
+ <li {{ if eq .Title "Tags" }} class="active" {{end}}> <a href="/tags/" >Tags</a></li>
</ul>
</nav>
</header>