Updated hugo site

This commit is contained in:
2026-02-28 10:23:39 -06:00
parent d80acc7860
commit 797892adef
17 changed files with 372 additions and 21 deletions

View File

@@ -8,8 +8,12 @@
<title></title>
</head>
<body>
{{ block "main" . }}
{{ end }}
<header>{{ partial "header.html" }}</header>
<main>
{{ block "main" . }}
{{ end }}
</main>
<footer>{{ partial "footer.html" }}</footer>
</body>
</html>

View File

@@ -0,0 +1 @@
<p>This is the footer</p>

View File

@@ -0,0 +1 @@
<p>This is the header</p>

Binary file not shown.

View File

@@ -1,15 +1,10 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
{{ range sort $chapters "Params.chapterno" "asc" }}
{{ if ne .Params.chapterno "00" }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $chapters := where .Site.AllPages "Params.tags" .Params.tags }}
{{ range sort $chapters "Params.chapterno" "asc" }}
{{ if gt .Params.chapterno 0 }}
<li><a href="{{ .Permalink }}">{{ .Params.chapterno }}. {{ .Title }}</a></li>
{{ end }}
{{ end }}
{{ end }}

View File

@@ -1,3 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ .Content }}
{{ end }}