config: add animateStyle parameter

This commit is contained in:
Marcin Mierzejewski 2021-01-06 12:42:16 +01:00
parent 7bec7a2ce4
commit 0a8ec45341
2 changed files with 5 additions and 1 deletions

View file

@ -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/"

View file

@ -47,7 +47,7 @@
</div>
</div>
<div class="container animated zoomIn fast">
<div class="container {{ .Site.Params.animateStyle }}" >
{{ block "main" . }}
{{ end }}
{{ partial "footer.html" . }}