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