From: Bastien Wirtz Date: Thu, 27 Feb 2020 05:56:25 +0000 (-0800) Subject: Optionnal footer support X-Git-Tag: v1.0~8 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=51956c3abd8789a87c19bc71c6592d4e052e5dea Optionnal footer support --- diff --git a/app.css b/app.css index 2cdb507..b514059 100644 --- a/app.css +++ b/app.css @@ -230,6 +230,10 @@ body { color: #676767; font-size: 0.85rem; transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } + body .no-footer #main-section { + margin-bottom: 0; } + body .no-footer .footer { + display: none; } body .search-bar { position: relative; display: inline-block; } diff --git a/app.scss b/app.scss index 476ee09..a0b1d42 100644 --- a/app.scss +++ b/app.scss @@ -302,6 +302,16 @@ body { transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } + .no-footer { + #main-section { + margin-bottom: 0; + } + + .footer { + display: none; + } + } + .search-bar { position: relative; display: inline-block; diff --git a/config.yml b/config.yml index fa29d65..e8c4352 100644 --- a/config.yml +++ b/config.yml @@ -6,9 +6,9 @@ title: "Demo homepage" subtitle: "Homer" logo: "assets/logo.png" # icon: "fas fa-skull-crossbones" Optional icon +footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. # Optional message -# message: # url: https://.... style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. diff --git a/index.html b/index.html index 4bc82c1..070656d 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ -
+
@@ -104,11 +104,8 @@