All checks were successful
Build and Publish Docker Image / build (push) Successful in 3m32s
20 lines
563 B
HTML
20 lines
563 B
HTML
{{ 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 }}
|