Subtitles

This commit is contained in:
Madison Scott-Clary
2024-04-30 22:37:01 -07:00
parent e61c5ae12c
commit 631ea0bfd5
12 changed files with 30 additions and 5 deletions

View File

@ -1,6 +1,7 @@
{{ define "main" }}
<main id="main">
<h1>{{ .Title }}</h1>
<h1>{{ if .Params.subtitle }}{{ .Params.subtitle }}{{ else }}{{ .Title }}{{ end }}</h1>
{{ if .Params.subtitle }}<hr><h2>{{ .Title }}</h2>{{ end }}
{{ .Content }}
</main>
{{ end }}