17 lines
577 B
HTML
17 lines
577 B
HTML
{{- if or .Params.categories .Params.tags -}}
|
|
<div>
|
|
<bt>CATÉGORIES :
|
|
{{- range .Params.categories -}}
|
|
{{- $url := print "/categories/" (. | urlize) "/" -}}
|
|
<a class="category" href={{- $url | relLangURL -}}>{{- . -}}</a> -
|
|
{{- end -}}
|
|
</bt>
|
|
<bt>TAGS : </bt>
|
|
<ul class="tag-list">
|
|
{{- range .Params.tags -}}
|
|
{{- $url := print "/tags/" (. | urlize) "/" -}}
|
|
<li><a class="tag" href={{- $url | relLangURL -}}><bt>{{- . -}}</bt></a></li>
|
|
{{- end -}}
|
|
</ul>
|
|
</div>
|
|
{{- end -}} |