{{- if or .Params.categories .Params.tags -}} <ul class="note labels tag-list"> {{- range .Params.tags -}} {{- $url := print "/tags/" (. | urlize) "/" -}} <li><a class="tag" href="{{- $url | relLangURL -}}">{{- . -}}</a></li> {{- end -}} </ul> {{- end -}}