hugo-theme-readable

Fork of https://github.com/cjtheham/hugo-theme-readable
git clone https://git.eamoncaddigan.net/hugo-theme-readable.git
Log | Files | Refs | README | LICENSE

commit 7d53424eedb1da70f055e7475d9d3ccd16cd2d74
parent 789ce2dbd0981cbe6b8d02f9b894d53d32d53373
Author: cjtheham <cjtheham@protonmail.com>
Date:   Wed,  5 Feb 2025 10:30:05 -0600

site.author deprecated, switch to params matching starter

Diffstat:
Mlayouts/partials/footer.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html @@ -7,6 +7,6 @@ {{ with .Site.Copyright }} <p>{{ now.Format "2006" }} © {{ . | markdownify }}</p> {{ else }} -<p>{{ now.Format "2006" }} © {{ .Site.Author.name }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }} </p> <!-- While not legally required, it's nice to put copyright and/or license info here. Also, it looks nice to break up the links with a line of text --> +<p>{{ now.Format "2006" }} © {{ .Site.Params.Author }} {{ with .Site.Params.License }} - {{ . | markdownify }} {{ end }} </p> <!-- While not legally required, it's nice to put copyright and/or license info here. Also, it looks nice to break up the links with a line of text --> {{ end }} <a href={{ $.Site.Params.Mastodon }} rel="me" target="blank">Mastodon</a> | <a href="/contact/">Contact Me</a> | <a href="/posts/index.xml">RSS Feed</a></p> <!-- This is the kind of thing people look for in footers: contact info and legal info. Make sure you include both! -->