This commit is contained in:
Madison Scott-Clary
2023-02-17 00:42:06 -08:00
parent f394a10571
commit f9c18a88f9
12 changed files with 49 additions and 11 deletions

11
layouts/page/baseof.html Normal file
View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</body>
</html>

5
layouts/page/list.html Normal file
View File

@ -0,0 +1,5 @@
{{ define "main" }}
<main id="main"{{ if (isset .Params "fit" )}} class="fit"{{ end }}>
{{ .Content }}
</main>
{{end}}

6
layouts/page/single.html Normal file
View File

@ -0,0 +1,6 @@
{{ define "main" }}
<main id="main">
<h1>{{ .Title }}</h1>
{{ .Content }}
</main>
{{ end }}