Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-02-01 14:47:58 +0300
committerDillon <dillonzq@outlook.com>2020-02-01 14:47:58 +0300
commit437ef95e14ed568fd26fd45a950561b8588da024 (patch)
treefec451fca1e817db9918f4fcd84c2af06a2fa47f /layouts/taxonomy/list.html
parent8aa4b6dce6da9601411c7caa07e6352c98ddc4f4 (diff)
feat(exampleSite): add some posts to exampleSite
Diffstat (limited to 'layouts/taxonomy/list.html')
-rw-r--r--layouts/taxonomy/list.html6
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>&nbsp;{{ .Title }}
+ <i class="far fa-folder-open fa-fw"></i>&nbsp;{{ humanize .Title }}
{{- else if eq $taxonomy "tag" -}}
- <i class="fas fa-tag fa-fw"></i>&nbsp;{{ .Title }}
+ <i class="fas fa-tag fa-fw"></i>&nbsp;{{ humanize .Title }}
{{- else -}}
{{- printf "%s - %s" (T $taxonomy | default (humanize $taxonomy)) .Title -}}
{{- end -}}