diff options
| -rw-r--r-- | layouts/partials/components/postnav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/components/postnav.html b/layouts/partials/components/postnav.html index 5a00797c..95b58954 100644 --- a/layouts/partials/components/postnav.html +++ b/layouts/partials/components/postnav.html @@ -4,7 +4,7 @@ <a href="{{ .Site.LanguagePrefix }}/">{{ T "postNav.latest" }}</a> </li> {{ if eq .Site.Language.Lang "zh" }} - <li class="{{ if eq "/featured" $.Page.RelPermalink }}active{{ end }}"> + <li class="{{ if eq "/featured/" $.Page.RelPermalink }}active{{ end }}"> <a href="{{ .Site.LanguagePrefix }}/featured">{{ T "postNav.featured" }}</a> </li> <li class="{{ if eq "/categories/" $.Page.RelPermalink }}active{{ end }}"> |
