diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index aba1999..e9debdf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,7 +1,7 @@ <div class="container mt-5"> - <nav class="navbar navbar-expand-sm flex-column flex-sm-row p-0"> - <a class="navbar-brand mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> - <div class="navbar-nav flex-row"> + <nav class="navbar navbar-expand-sm flex-column flex-sm-row text-nowrap p-0"> + <a class="navbar-brand mx-0 mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> + <div class="navbar-nav flex-row flex-wrap justify-content-center"> {{ with .Site.Menus.main }} {{ $navbar_len := len . }} {{ range $i, $nav_item := . }} |