diff --git a/assets/_colors.scss b/assets/_colors.scss index dc2104d..d077b01 100644 --- a/assets/_colors.scss +++ b/assets/_colors.scss @@ -1,2 +1,4 @@ $background: #100e23; $text-color: #ffffff; + +$highlight: #05b9ec; diff --git a/assets/style.scss b/assets/style.scss index 2f00caa..3633159 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -115,6 +115,7 @@ figure { padding: 0.5em; &.nav-link-active { + color: $highlight; } } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1f00b02..cd24cd7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,3 +1,4 @@ +{{ $currentPage := . }} @@ -20,7 +21,6 @@ {{ end }}
{{ end }} - {{ $currentPage := . }} {{ range .Site.Menus.main }} {{ .Name }} {{ end }} @@ -29,10 +29,10 @@ {{ block "main" . }} {{ end }}