aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
committertdro <tdro@noreply.example.com>2023-12-30 16:39:52 -0500
commit10fc04a9ab69adb215398763b99eded1b24f0a77 (patch)
treeee8fe7e2d400b29c00f34d0a10491f82797e289e /themes/default/layouts
parent539775f2cb048827b1a93896f0d848c1bbd6edc1 (diff)
downloadcanory-10fc04a9ab69adb215398763b99eded1b24f0a77.tar.gz
canory-10fc04a9ab69adb215398763b99eded1b24f0a77.tar.bz2
canory-10fc04a9ab69adb215398763b99eded1b24f0a77.zip
themes/default/layouts/_default/home.archives: Use page section
Diffstat (limited to 'themes/default/layouts')
-rw-r--r--themes/default/layouts/_default/home.archives.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/home.archives.html b/themes/default/layouts/_default/home.archives.html
index bfc5358..d098a21 100644
--- a/themes/default/layouts/_default/home.archives.html
+++ b/themes/default/layouts/_default/home.archives.html
@@ -29,7 +29,7 @@
{{ end }}
<ul>
{{ range .Pages }}
- {{- $author := partial "function-authors-data.html" . -}}
+ {{- $author := .Page.Section -}}
<li>
<a
title="{{ partial "meta-title.html" . }}"
@@ -46,7 +46,7 @@
</code>
<section>
<h2>{{ partial "meta-title.html" . }}</h2>
- <p>@{{ or .Params.feed.domain $author.user }}</p>
+ <p>@{{ or .Params.feed.domain $author }}</p>
</section>
</a>
</li>