diff options
author | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-12-30 16:39:52 -0500 |
commit | 10fc04a9ab69adb215398763b99eded1b24f0a77 (patch) | |
tree | ee8fe7e2d400b29c00f34d0a10491f82797e289e | |
parent | 539775f2cb048827b1a93896f0d848c1bbd6edc1 (diff) | |
download | canory-10fc04a9ab69adb215398763b99eded1b24f0a77.tar.gz canory-10fc04a9ab69adb215398763b99eded1b24f0a77.tar.bz2 canory-10fc04a9ab69adb215398763b99eded1b24f0a77.zip |
themes/default/layouts/_default/home.archives: Use page section
-rw-r--r-- | themes/default/layouts/_default/home.archives.html | 4 |
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> |