diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 5c90722e..faa5f79b 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -118,7 +118,7 @@ publication_types = [ ] # Align the main menu to the right of the page? (true/false) -menu_align_right = true +menu_align_right = false # Link custom CSS and JS assets # (relative to /static/css and /static/js respectively) diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 8380dcc8..72b1ea49 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -66,7 +66,7 @@ {{ end }} {{ end }} - {{ if and (not $align_right) (or .IsTranslated .Site.Menus.main_right) }} + {{ if not $align_right | and (.IsTranslated | or .Site.Menus.main_right | or .Site.Params.search.engine | or .Site.Params.day_night) }}