feat: support disabling animations

This commit is contained in:
Rob Paisley committed 2024-10-07 14:06:15 -04:00
1 parent 51beaa3134
commit 9b2c3e8497
10 files changed
+12 -9

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
{{ end }}
{{ define "main" }}
<main class="site-main section-inner thin animated fadeIn faster">
<main class="site-main section-inner thin {{- if ne false .Site.Params.usesAnimation }} animated fadeIn faster{{- end -}}">
<h1>{{ .Title }}</h1>
{{- if .Content }}
<div class="content">