From 9d51f4113e5a78a4ca2570770286d7da7f768adf Mon Sep 17 00:00:00 2001 From: Nishant Tharani Date: Sat, 17 Sep 2022 14:19:25 -0700 Subject: Added animation toggle option --- exampleSite/config.yaml | 3 +++ layouts/partials/sections/header.html | 2 +- layouts/partials/sections/hero/index.html | 4 ++-- layouts/partials/sections/hero/social.html | 2 +- static/css/index.css | 7 ++++--- 5 files changed, 11 insertions(+), 7 deletions(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 261d12f..e441818 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -55,6 +55,9 @@ params: # Note the lack of "" in true, it should be of boolean type. useBootstrapCDN: false + # Whether the fade animations on the home page will be enabled + animate: true + theme: disableThemeToggle: false # defaultTheme: "light" # dark diff --git a/layouts/partials/sections/header.html b/layouts/partials/sections/header.html index 6286bd6..4049717 100644 --- a/layouts/partials/sections/header.html +++ b/layouts/partials/sections/header.html @@ -24,7 +24,7 @@
-