mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-07-16 19:51:22 +00:00
#22: Highlight current links that end with relref
This commit is contained in:
parent
82b4d3212c
commit
fda5e7a046
@ -1,5 +1,5 @@
|
|||||||
<style>
|
<style>
|
||||||
nav ul a[href="{{- .Permalink -}}"] {
|
nav ul a[href$="{{- .RelPermalink -}}"] {
|
||||||
color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
|
color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user