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 }}

View File

@ -1,4 +1,5 @@
<header>
<h1><a href="/">{{ if .Params.subtitle }}{{ .Params.subtitle }}{{ else }}Florilegium{{ end }} ¹</a></h1>
<h1><a href="/">Florilegium ¹</a></h1>
<h2><a href="https://makyo.ink">¹ Madison Rye Progress</a></h2>
{{ if .Params.subtitle }}<!--<h3>{{ .Params.subtitle }}</h3>-->{{ end }}
</header>