📝 Fix: fix typo

This commit is contained in:
Cell
2023-12-23 17:51:20 +08:00
parent 8beeb2dfa5
commit f5a79bac03
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -84,7 +84,7 @@
{{- if $tagTerms -}}
{{- dict "Class" "fa-solid fa-tags fa-fw me-1" | partial "plugin/icon.html" -}}
{{- range $tagTerms -}}
<a href='{{ partial "function/escapeurl.html" .RelPermalink }}' class="post-tag">{{ .LinkTitle }}</a>
<a href="{{ partial "function/escapeurl.html" .RelPermalink }}" class="post-tag" title="{{ printf "%v - %v" (T "tags") .LinkTitle }}">{{ .LinkTitle }}</a>
{{- end -}}
{{- end -}}
</section>
@@ -15,7 +15,7 @@
{{- $collections = $collections | append (
printf `<a href="%v" class="post-collection" title="%v">%v %v</a>`
(partial "function/escapeurl.html" .RelPermalink)
(printf "%v - %v" (T "collection") .LinkTitle)
(printf "%v - %v" (T "collection") .LinkTitle)
(dict "Class" "fa-solid fa-layer-group fa-fw" | partial "plugin/icon.html")
.LinkTitle
) -}}
+1 -1
View File
@@ -13,7 +13,7 @@
{{- $termIcon = "fa-regular fa-folder-open fa-fw" -}}
{{- else if eq $taxonomy "tag" -}}
{{- $termIcon = "fa-solid fa-tag fa-fw" -}}
{{- else if eq $taxonomy "collections" -}}
{{- else if eq $taxonomy "collection" -}}
{{- $termIcon = "fa-solid fa-layer-group fa-fw" -}}
{{- else -}}
{{- $termTitle = printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}