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

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Rawlins <luke.rawlins@outlook.com>2020-10-02 18:37:35 +0300
committerLuke Rawlins <luke.rawlins@outlook.com>2020-10-02 18:37:35 +0300
commit6a096fd3517f8635be048b2e324e7609a96c2648 (patch)
treecf2b1383a9c6726b317d362952b99aceb60dbf6e /layouts
parent1ac7a27d76dd649ff97c0418ecb1fb35a35a4b35 (diff)
Removed lines that specifically displayed the Tags taxonomy.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/blog/single.html15
1 files changed, 2 insertions, 13 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 4bb8e81..2a408d1 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -42,28 +42,17 @@
{{ end }}
</div>
{{ end }}
- {{ if .Params.tags }}
- {{ $len := (len .Params.tags) }}
- <p>
- Tag{{ if gt $len 1 }}s{{ end }}:
- {{ range $index, $tag := .Params.tags }}
- <a href="{{ "tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>{{ if ne (add $index 1) $len }},{{ end }}
- {{ end }}
- </p>
- {{ end }}
<!-- Start fix 236 -->
{{ range $taxonomy_term, $taxonomy := .Params }}
{{ with $.Site.GetPage (printf "/%s" $taxonomy_term) }}
<p>
- {{ if (ne $taxonomy_term "tags") }}
{{ $taxonomy_term | title }}:
<a href="{{ .Permalink }}">{{ range $key, $value := $taxonomy }}
{{ $value }}</a>
+ {{ end }}
</p>
- {{ end }}
- {{ end }}
{{ end }}
- {{ end }}
+ {{ end }}
<!-- End fix 236 -->
</div>
<!-- Begin blog post content -->