Merge branch 'master' into pr/xiaobinqt/659

# Conflicts:
#	layouts/partials/single/footer.html
#	layouts/posts/single.html
This commit is contained in:
Dillon
2022-05-23 23:02:31 +08:00
2625 changed files with 14855 additions and 28028 deletions

View File

@@ -5,12 +5,12 @@
{{- define "content" -}}
<div class="page archive">
{{- /* Title */ -}}
<h2 class="single-title animated pulse faster">
<h2 class="single-title animate__animated animate__pulse animate__faster">
{{- $taxonomy := .Data.Singular -}}
{{- if eq $taxonomy "category" -}}
<i class="far fa-folder-open fa-fw"></i>&nbsp;{{ .Title }}
<i class="far fa-folder-open fa-fw" aria-hidden="true"></i>&nbsp;{{ .Title }}
{{- else if eq $taxonomy "tag" -}}
<i class="fas fa-tag fa-fw"></i>&nbsp;{{ .Title }}
<i class="fas fa-tag fa-fw" aria-hidden="true"></i>&nbsp;{{ .Title }}
{{- else -}}
{{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
{{- end -}}