Skip to content

Commit

Permalink
Revert ability to change taxonomy names 'issue#1'
Browse files Browse the repository at this point in the history
  • Loading branch information
dataCobra committed Dec 19, 2019
1 parent e8320a8 commit aa41c31
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ <h1 class="title">{{ .Title }}</h1>
</div>

<div class="tags">
{{ $taxo := $.Site.Params.tags }}
{{ range .Param $taxo }}
{{ $name := . }}
{{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }}
<a href="{{ .Permalink }}">{{ $name }}</a>
{{ end }}
{{ if ne .Type "page" }}
{{ range .Params.tags }}
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ end }}
</div>

Expand Down

0 comments on commit aa41c31

Please sign in to comment.