mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-06 00:33:39 +00:00
Redesign home page
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
|
||||
.content-section,
|
||||
.post-header,
|
||||
.post-content {
|
||||
& a {
|
||||
|
@@ -5,8 +5,4 @@
|
||||
<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