1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{{ define "main" }} <div class="flex flex-col gap-1"> <h1 class="text-2xl font-extrabold"> {{ if .Params.header }} {{ .Params.header }} {{ else }} {{ .Title }} {{ end }} </h1> {{ with .Content }} {{ . }} {{ end }} </div> {{ end }}