diff options
Diffstat (limited to 'layouts/partials/nav.html')
-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 dd44ae0..3bbabfc 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -36,7 +36,7 @@ {{ $active = "active" }} {{ end }} - {{ if and (or (eq $current.URL .URL) (eq "term" $current.Kind)) (in (slice "page" "term") $current.Kind) }} + {{ if and (or (eq $current.RelPermalink .URL) (eq "term" $current.Kind)) (in (slice "page" "term") $current.Kind) }} {{ range (split .URL "/") }} {{ if eq "blog" . }} {{ $active = "active" }} |