Subtitles
This commit is contained in:
@ -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 }}
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user