feat: show author name rather than username in terms/taxonomy layout

This commit is contained in:
George Cushen committed 2025-10-24 23:37:45 +01:00
1 parent c34ccd27b0
commit 0f474b371f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@
{{- with site.GetPage (printf "/%s/%s" $type $name) }}
<a href="{{ .RelPermalink }}" class="inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">
{{ .Name }}
{{ .Title }}
<span class="inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-primary-800 bg-primary-200 rounded-full">
{{ $count }}
</span>
+1 -1
View File
@@ -20,7 +20,7 @@
{{- with site.GetPage (printf "/%s/%s" $type $name) }}
<a href="{{ .RelPermalink }}" class="inline-flex items-center px-5 py-2.5 text-sm font-medium text-center text-white bg-primary-700 rounded-lg hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800">
{{ .Name }}
{{ .Title }}
<span class="inline-flex items-center justify-center w-4 h-4 ms-2 text-xs font-semibold text-primary-800 bg-primary-200 rounded-full">
{{ $count }}
</span>