#22, fix link color defaulting order (sleepy me)

This commit is contained in:
Alex Shpak 2019-02-12 14:20:19 +01:00
parent fa58475a37
commit 21b245b465

View file

@ -1,6 +1,6 @@
<style> <style>
nav ul a[href="{{- .Permalink -}}"] { nav ul a[href="{{- .Permalink -}}"] {
color: {{ default .Site.Params.BookMenuBundleActiveLinkColor "#004ed0" }}; color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
} }
</style> </style>
{{ with .Site.GetPage .Site.Params.BookMenuBundle }} {{ with .Site.GetPage .Site.Params.BookMenuBundle }}