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

@ -16,7 +16,7 @@
{{- if (or .Params.images .Params.featuredImg) }}
<div class="bg-img"></div>
{{- end }}
<main class="site-main section-inner animated fadeIn faster">
<main class="site-main section-inner {{- if ne false .Site.Params.usesAnimation }} animated fadeIn faster {{- end -}}">
{{- if and (not (eq .Site.Params.legacyLayout nil)) (.Site.Params.legacyLayout) -}}
<article class="thin">
<header class="post-header">