feat: support disabling animations

This commit is contained in:
Rob Paisley
2024-10-07 14:06:15 -04:00
parent 51beaa3134
commit 9b2c3e8497
10 changed files with 12 additions and 9 deletions

View File

@ -12,7 +12,7 @@
{{- if (or .Site.Params.images .Site.Params.bgImg) }}
<div class="bg-img"></div>
{{- end }}
<div id="spotlight" class="animated fadeIn">
<div id="spotlight" {{- if ne false .Site.Params.usesAnimation }} class="animated fadeIn" {{- end -}}>
<div id="home-center">
<h1 id="home-title">{{ .Site.Title }}</h1>
{{- with .Site.Params.homeSubtitle }}