mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-11 03:12:56 +00:00
feat: show author name rather than username in terms/taxonomy layout
This commit is contained in:
1 parent
c34ccd27b0
commit
0f474b371f
2 files changed
+2
-2
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user