diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 87819c2..3e35d22 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,7 +10,7 @@ pygmentsCodefencesGuessSyntax = true relativeURLs = false -[Params] +[params] useSummary = true description = 'An example description' diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8755a34..00a44ea 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,6 +3,7 @@ {{ $current := . }} {{ range .Site.Menus.footer.ByWeight }} {{ $active := or ($current.IsMenuCurrent "footer" .) ($current.HasMenuCurrent "footer" .) }} + {{ $active = or $active (eq .Identifier $current.Title) }} {{ $active = or $active (eq .Name $current.Title) }}