diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-11 23:06:48 +0100 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-02-11 23:06:48 +0100 |
commit | fa58475a37b0cd4cd72ccb1aa09a92976c1adb80 (patch) | |
tree | 1a0974cc33daebdfaffdfc341f2616f51b67da82 /layouts/partials/docs | |
parent | 4ce973a4e2ee74ff4cba33ea3c8bb8761c8e70ef (diff) |
Add temporary workaround to higlight active linkn in menu bundle
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r-- | layouts/partials/docs/menu-bundle.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/partials/docs/menu-bundle.html b/layouts/partials/docs/menu-bundle.html index bdabefd..cf18aa3 100644 --- a/layouts/partials/docs/menu-bundle.html +++ b/layouts/partials/docs/menu-bundle.html @@ -1,3 +1,8 @@ +<style> +nav ul a[href="{{- .Permalink -}}"] { + color: {{ default .Site.Params.BookMenuBundleActiveLinkColor "#004ed0" }}; +} +</style> {{ with .Site.GetPage .Site.Params.BookMenuBundle }} {{- .Content -}} {{ end }}
\ No newline at end of file |