From 0a8ec4534132f8d5a672490c0e501cddadecff06 Mon Sep 17 00:00:00 2001 From: Marcin Mierzejewski Date: Wed, 6 Jan 2021 12:42:16 +0100 Subject: [PATCH] config: add animateStyle parameter --- exampleSite/config.toml | 4 ++++ layouts/_default/baseof.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3a3d1f6..5bf0c36 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,6 +7,10 @@ languageCode = "en-us" # Cutting off the page title to two chars for mobile (console-demo -> co) titleCutting = true + # Set the animation style -- https://animate.style/ + # To disable animations, please remove or comment animationStyle parameter + animateStyle = "animated zoomIn fast" + [[params.navlinks]] name = "about/" url = "about/" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c5478c1..5eb5d94 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -47,7 +47,7 @@ -
+
{{ block "main" . }} {{ end }} {{ partial "footer.html" . }}