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 -}}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<div class="page archive">
|
||||
{{- /* Title */ -}}
|
||||
<h2 class="single-title animated pulse faster">
|
||||
<h2 class="single-title animate__animated animate__pulse animate__faster">
|
||||
{{- .Params.Title | default (T $taxonomies) | default $taxonomies | dict "Some" | T "allSome" -}}
|
||||
</h2>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class="card-item-wrapper">
|
||||
<h3 class="card-item-title">
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<i class="far fa-folder fa-fw"></i> {{ .Page.Title }}
|
||||
<i class="far fa-folder fa-fw" aria-hidden="true"></i> {{ .Page.Title }}
|
||||
</a>
|
||||
</h3>
|
||||
{{- range first 5 $pages -}}
|
||||
|
||||
Reference in New Issue
Block a user