diff options
author | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2021-10-13 18:17:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 18:17:49 +0300 |
commit | d758da1a294d66511dde33e3fffd659fdc9b5afa (patch) | |
tree | ecfe6217a73c8e413836ea4a3069132dee3250a5 | |
parent | 973e31fe5e8c983e46e247d2eaf450f560dbfbd1 (diff) |
Deprecation (#332)
* Fixed deprecation warning.
* Fixed deprecation warning.
-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" }} |