Update to Hugo v0.143.1

This commit is contained in:
Brandon Rozek 2025-02-16 11:04:21 -05:00
parent 3282b231c0
commit fd5c0865b5
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
18 changed files with 112 additions and 47 deletions

View file

@ -0,0 +1,30 @@
{{ define "main" }}
{{ partial "header.html" . }}
<main>
<article>
{{ .Content }}
{{ range .Pages }}
<div class="postroll-item" style="text-align: left;">
<p><a href="{{ .Params.url }}"><strong style="font-size: 1.7rem;">{{ .Title }}</strong></a> by <span class="postroll-author">{{ .Params.author }}</span></p>
<p>{{ .Content }}</p>
{{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}}
{{ $pubdate := .Date.Format $singlePageDateFormat }}
<p>Added: <span class="postroll-date"> {{ $pubdate }} </span></p>
</div>
<hr/>
{{ end }}
<style>
.postroll-item {
margin-top: 2rem;
margin-bottom: 2rem;
text-align: left;
}
.postroll-author, .postroll-date {
color: #800000;
}
</style>
</article>
</main>
{{ end }}