aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/taxonomy.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-02-06 20:35:48 -0500
committertdro <tdro@noreply.example.com>2023-02-06 20:35:48 -0500
commitca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e (patch)
treea9b8d5daba428d12af9387015fe2af38d7f68c5e /themes/default/layouts/_default/taxonomy.html
parent7cec20bb3dbd798c2b1c0cad93ff2cc5c2bcb66e (diff)
downloadcanory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.tar.gz
canory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.tar.bz2
canory-ca11dd33ec93a4d9077bb1d8d6f3cc58e269e55e.zip
themes/default/layouts/partials: Remove redundant paths
themes/default/layouts/partials/author-media-path.html themes/default/layouts/partials/author-name.html themes/default/layouts/partials/author-user.html
Diffstat (limited to 'themes/default/layouts/_default/taxonomy.html')
-rw-r--r--themes/default/layouts/_default/taxonomy.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/taxonomy.html b/themes/default/layouts/_default/taxonomy.html
index f8048d0..bcacf3e 100644
--- a/themes/default/layouts/_default/taxonomy.html
+++ b/themes/default/layouts/_default/taxonomy.html
@@ -6,7 +6,8 @@
{{ define "middle" }}
- {{ $title := .Title }}
+ {{- $title := .Title -}}
+ {{- $author := partial "function-authors-data.html" . -}}
{{ if eq .Title "Tags" }}
@@ -44,7 +45,7 @@
<code>{{ .Date.Format "02 Jan 2006" }}</code>
</span>
<span>{{ partial "meta-title.html" . }}</span>
- <span>@{{ partial "author-user.html" . }}</span>
+ <span>@{{ $author.user }}</span>
</a>
</li>
{{ if eq (mod $count $.Paginator.PageSize) 0 }}