Massive site refactoring
All checks were successful
Build and Publish Docker Image / build (push) Successful in 3m32s

This commit is contained in:
2026-06-16 23:47:56 -06:00
parent 3676eedea5
commit fbc4977ec6
57 changed files with 133 additions and 46 deletions

19
layouts/art/list.html Normal file
View File

@@ -0,0 +1,19 @@
{{ define "main" }}
{{ .Scratch.Set "scope" "list" }}
{{ if site.Params.list.showHero | default false }}
{{ $heroStyle := print "hero/" site.Params.list.heroStyle ".html" }}
{{ if templates.Exists ( printf "partials/%s" $heroStyle ) }}
{{ partial $heroStyle . }}
{{ else }}
{{ partial "hero/basic.html" . }}
{{ end }}
{{ end }}
<article>
<header>
<h1 class="mt-5 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title | emojify }}</h1>
</header>
<section class="mt-8">
{{ .Content }}
</section>
</article>
{{ end }}