mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-21 19:42:52 +00:00
Removed lines that specifically displayed the Tags taxonomy.
This commit is contained in:
parent
1ac7a27d76
commit
6a096fd351
1 changed files with 2 additions and 13 deletions
|
@ -42,28 +42,17 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ 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 -->
|
<!-- Start fix 236 -->
|
||||||
{{ range $taxonomy_term, $taxonomy := .Params }}
|
{{ range $taxonomy_term, $taxonomy := .Params }}
|
||||||
{{ with $.Site.GetPage (printf "/%s" $taxonomy_term) }}
|
{{ with $.Site.GetPage (printf "/%s" $taxonomy_term) }}
|
||||||
<p>
|
<p>
|
||||||
{{ if (ne $taxonomy_term "tags") }}
|
|
||||||
{{ $taxonomy_term | title }}:
|
{{ $taxonomy_term | title }}:
|
||||||
<a href="{{ .Permalink }}">{{ range $key, $value := $taxonomy }}
|
<a href="{{ .Permalink }}">{{ range $key, $value := $taxonomy }}
|
||||||
{{ $value }}</a>
|
{{ $value }}</a>
|
||||||
|
{{ end }}
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!-- End fix 236 -->
|
<!-- End fix 236 -->
|
||||||
</div>
|
</div>
|
||||||
<!-- Begin blog post content -->
|
<!-- Begin blog post content -->
|
||||||
|
|
Loading…
Reference in a new issue