Rename theme path

This commit is contained in:
Dave Gallant
2024-01-07 10:19:25 -05:00
parent b9926ba634
commit 51bd556992
122 changed files with 1 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{{ define "main" }}
<div class="content-section">
<h1>{{ .Title | markdownify }}</h1>
{{ with .Content }}
<div>{{ . }}</div>
{{ end }}
</div>
<!-- See https://gohugo.io/functions/where/#mainsections -->
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ $paginator := .Paginate $pages }}
{{ partial "post-list.html" $paginator }}
{{ end }}