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:
Diffstat (limited to 'layouts/taxonomy/list.html')
-rw-r--r--layouts/taxonomy/list.html14
1 files changed, 6 insertions, 8 deletions
diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html
index 4b8342b..708952d 100644
--- a/layouts/taxonomy/list.html
+++ b/layouts/taxonomy/list.html
@@ -2,18 +2,16 @@
{{- .Title }} | {{ .Site.Title -}}
{{- end -}}
+{{- define "robots" -}}
+<meta name="robots" content="noindex, follow" />
+{{- end -}}
+
{{- define "content" -}}
<div class="page archive">
{{- /* Title */ -}}
- <h2 class="single-title animated pulse faster">
+ <h2 class="single-title pulse faster">
{{- $taxonomy := .Data.Singular -}}
- {{- if eq $taxonomy "category" -}}
- <i class="far fa-folder-open fa-fw"></i>&nbsp;{{ .Title }}
- {{- else if eq $taxonomy "tag" -}}
- <i class="fas fa-tag fa-fw"></i>&nbsp;{{ .Title }}
- {{- else -}}
- {{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
- {{- end -}}
+ {{- printf "%v - %v" (T $taxonomy | default $taxonomy) .Title -}}
</h2>
{{- /* Paginate */ -}}