diff --git a/assets/sass/_custom.sass b/assets/sass/_custom.sass index 572113f..b2cced8 100644 --- a/assets/sass/_custom.sass +++ b/assets/sass/_custom.sass @@ -8,13 +8,13 @@ html, body img max-height: 2rem // search box - &-item + &_search display: grid align-items: center .search @media screen and (min-width: 992px) margin-right: 1.5rem - + // Magic for collapsing content, borrowed from https://www.digitalocean.com/community/tutorials/css-collapsible .lbl-toggle diff --git a/i18n/en.toml b/i18n/en.toml index 5cfd87a..704fa79 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -20,7 +20,7 @@ other = "View source" other = "No matches found" [quick_links] -other = "Quick links" +other = "Quick results" [search_field_placeholder] other = "Search" diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..8aec3ac --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,39 @@ +{{- $params := .Site.Params }} +{{- $centerLogo := $params.centerLogo }} +{{ $logo := $params.logo }} + diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html deleted file mode 100644 index e854819..0000000 --- a/layouts/partials/nav.html +++ /dev/null @@ -1,39 +0,0 @@ -{{- $menu := .menu }} -{{ $menuData := .context.Site.Data.menu }} -{{- $link := .context.Permalink }} -{{- $url := "" }} -{{- $name := "" }} -{{- $forwardSlash := "/" }} -{{- $children := false }} -{{- range $menu }} - {{- if eq $menu $menuData }} - {{- $children = .submenu }} - {{- $name = .name }} - {{- $url = absURL .link }} - {{- else }} - {{- $children = .Children }} - {{- $name = .Name }} - {{- $url = absLangURL .URL }} - {{- end }} - -{{- end }} - \ No newline at end of file