aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-11 23:06:48 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-11 23:06:48 +0100
commitfa58475a37b0cd4cd72ccb1aa09a92976c1adb80 (patch)
tree1a0974cc33daebdfaffdfc341f2616f51b67da82 /layouts/partials
parent4ce973a4e2ee74ff4cba33ea3c8bb8761c8e70ef (diff)
Add temporary workaround to higlight active linkn in menu bundle
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/menu-bundle.html5
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