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/posts/single.html')
-rw-r--r--layouts/posts/single.html15
1 files changed, 7 insertions, 8 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 4456e7d..f3f8b01 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -17,15 +17,14 @@
</span>
{{- with .Params.categories -}}
- &nbsp;<span class="post-category">
+ &nbsp;
+ <span class="post-category">
{{- T "included" -}}
- {{- range . -}}
- &nbsp;
- <span>
- <a href="{{ `/categories/` | relLangURL }}{{ urlize .}}">
- <i class="far fa-folder fa-fw"></i>{{ . | humanize }}
- </a>
- </span>
+ {{- range $index, $value := . -}}
+ {{- if gt $index 0 }}&nbsp;{{ end -}}
+ <a href="{{ `/categories/` | relLangURL }}{{ urlize $value }}">
+ <i class="far fa-folder fa-fw"></i>{{ $value | humanize }}
+ </a>
{{- end -}}
</span>
{{- end -}}