diff options
author | Dillon <dillonzq@outlook.com> | 2020-02-01 14:47:58 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-02-01 14:47:58 +0300 |
commit | 437ef95e14ed568fd26fd45a950561b8588da024 (patch) | |
tree | fec451fca1e817db9918f4fcd84c2af06a2fa47f /layouts/taxonomy/list.html | |
parent | 8aa4b6dce6da9601411c7caa07e6352c98ddc4f4 (diff) |
feat(exampleSite): add some posts to exampleSite
Diffstat (limited to 'layouts/taxonomy/list.html')
-rw-r--r-- | layouts/taxonomy/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index 7f5baa0..55a92b7 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -3,13 +3,13 @@ {{- end -}} {{- define "content" -}} - <div class="warpper archive"> + <div class="page archive"> <h2 class="post-title animated pulse 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"></i> {{ humanize .Title }} {{- else if eq $taxonomy "tag" -}} - <i class="fas fa-tag fa-fw"></i> {{ .Title }} + <i class="fas fa-tag fa-fw"></i> {{ humanize .Title }} {{- else -}} {{- printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title -}} {{- end -}} |