feat: tidy style and layout
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="post-warp archive">
|
||||
<h2 class="post-title">
|
||||
<h2 class="post-title animated pulse faster">
|
||||
{{ $taxonomy := .Data.Singular }}
|
||||
{{ if eq $taxonomy "category" }}
|
||||
<i class="far fa-folder-open"></i> {{ .Title }}
|
||||
@@ -12,6 +12,7 @@
|
||||
{{ printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title }}
|
||||
{{ end }}
|
||||
</h2>
|
||||
|
||||
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
||||
<h3>{{ .Key }}</h3>
|
||||
{{ range .Pages }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{ define "title" }}{{ T .Data.Plural | default (humanize .Data.Plural) }} | {{ .Site.Title }}{{ end }}
|
||||
{{ define "title" }}{{ T "all" }}{{ T .Data.Plural | default (humanize .Data.Plural) }} | {{ .Site.Title }}{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
{{ $taxonomies := .Data.Plural }}
|
||||
@@ -6,7 +6,7 @@
|
||||
{{ $type := .Type }}
|
||||
|
||||
<div class="post-warp archive">
|
||||
<h2 class="post-title">
|
||||
<h2 class="post-title animated pulse faster">
|
||||
{{- printf "%s%s" (T "all") (T $taxonomies | default (humanize $taxonomies)) -}}
|
||||
</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user