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

@ -1,5 +1,5 @@
{{ define "main" }}
<div id="spotlight" class="error-404 animated fadeIn">
<div id="spotlight" class="error-404 {{- if ne false .Site.Params.usesAnimation }} animated fadeIn {{- end -}}">
<p class="img-404">{{- partial "svg.html" (dict "context" . "name" "404-lighthouse") -}}</p>
<div class="banner-404">
<h1>404</h1>