diff --git a/layouts/partials/nav_pages.html b/layouts/partials/nav_pages.html index fae1da8..04407e5 100644 --- a/layouts/partials/nav_pages.html +++ b/layouts/partials/nav_pages.html @@ -1,24 +1,11 @@ -{{ $valid_children := where (where .Site.Pages ".Parent" "!=" nil) ".Params.hide_in_nav" "!=" "true" }} - {{ $home := .Site.GetPage "home" }} {{ range where .Site.Pages.ByTitle "Kind" "section" }} {{ if eq .Parent $home }} - {{ $sorted_pages := sort $valid_children (default "Title" .Params.sort_by) (default "asc" .Params.sort_order)}} - {{ $children := where $sorted_pages ".Parent.UniqueID" .UniqueID }} - {{ end }} {{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 8db48bd..a0803dc 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -174,12 +174,3 @@ pre.chroma { background-color: #272822; } } - -.dropdown-menu { - min-width: initial; - padding: $spacer * 0.25 0; - - .dropdown-item { - padding: $spacer * 0.25 $spacer; - } -}