From ed508759b2ecd6895ae963c025dab3b6b033ad57 Mon Sep 17 00:00:00 2001 From: L Laniewski-Wollk Date: Tue, 18 Aug 2020 11:31:12 +1000 Subject: [PATCH] Adding background_position option --- exampleSite/config.yaml | 2 ++ layouts/partials/sections/home.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index f325cfb..09774ed 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -32,6 +32,8 @@ params: # background image of the landing page background: "images/background.jpg" + # optional alignment of the background image + #background-position: center # Provide logos for your site. The inverted logo will be used in the initial # transparent navbar and the main logo will be used in the non-transparent navbar. diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html index 2f825a7..0b4726f 100644 --- a/layouts/partials/sections/home.html +++ b/layouts/partials/sections/home.html @@ -1,7 +1,8 @@