mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 00:58:13 +00:00
Add themes in-tree
This commit is contained in:
@@ -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 }}
|
Reference in New Issue
Block a user