Merge branch 'master' into pr/xiaobinqt/659
# Conflicts: # layouts/partials/single/footer.html # layouts/posts/single.html
This commit is contained in:
@@ -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> {{ .Title }}
|
||||
<i class="far fa-folder-open fa-fw" aria-hidden="true"></i> {{ .Title }}
|
||||
{{- else if eq $taxonomy "tag" -}}
|
||||
<i class="fas fa-tag fa-fw"></i> {{ .Title }}
|
||||
<i class="fas fa-tag fa-fw" aria-hidden="true"></i> {{ .Title }}
|
||||
{{- else -}}
|
||||
{{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user