diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-13 23:06:10 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-13 23:06:10 +0100 |
commit | fda5e7a046769b1bb814d6080f4cc9dae62ed39a (patch) | |
tree | 522e0beb488c02b9d82b6230c856390aea7ada7a /layouts/partials | |
parent | 82b4d3212c6752745bc6ae58b273b2ceb390bc4f (diff) |
#22: Highlight current links that end with relref
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/docs/menu-bundle.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/menu-bundle.html b/layouts/partials/docs/menu-bundle.html index dd513b0..6cd0016 100644 --- a/layouts/partials/docs/menu-bundle.html +++ b/layouts/partials/docs/menu-bundle.html @@ -1,5 +1,5 @@ <style> -nav ul a[href="{{- .Permalink -}}"] { +nav ul a[href$="{{- .RelPermalink -}}"] { color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }}; } </style> |