#22: Move href hack to partial

This commit is contained in:
Alex Shpak
2019-02-13 23:31:13 +01:00
parent fda5e7a046
commit 4297ab1c08
2 changed files with 16 additions and 5 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
<style>
nav ul a[href$="{{- .RelPermalink -}}"] {
color: {{ default "#004ed0" .Site.Params.BookMenuBundleActiveLinkColor }};
}
</style>
{{- template "hrefhack" . -}}
{{ with .Site.GetPage .Site.Params.BookMenuBundle }}
{{- .Content -}}
{{ end }}