From b6e1dd2710b5ed940e9f93f4e9508efda1461ecd Mon Sep 17 00:00:00 2001 From: George Cushen Date: Thu, 16 Nov 2017 21:53:45 +0000 Subject: [PATCH] Enable main menu to be left aligned --- exampleSite/config.toml | 3 +++ layouts/partials/navbar.html | 11 +++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ad8f2798..881b950d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -227,6 +227,9 @@ defaultContentLanguageInSubdir = false # To link a homepage widget, specify the URL as a hash `#` followed by the filename of the # desired widget in your `content/home/` folder. # The weight parameter defines the order that the links will appear in. +[params.menus] + # Align the main menu to the right of the page? (true/false) + align_right = true [[menu.main]] name = "Home" diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 4e3d945e..8b154a70 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -25,7 +25,8 @@