🎉 Hello World
This commit is contained in:
16
layouts/partials/article-labels.html
Normal file
16
layouts/partials/article-labels.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{- if or .Params.categories .Params.tags -}}
|
||||
<p>
|
||||
<bt>CATÉGORIES :
|
||||
{{- range .Params.categories -}}
|
||||
{{- $url := print "/categories/" (. | urlize) "/" -}}
|
||||
<a class="category" href={{- $url | relLangURL -}}>{{- . -}}</a> -
|
||||
{{- end -}}
|
||||
</bt>
|
||||
<bt>TAGS :
|
||||
{{- range .Params.tags -}}
|
||||
{{- $url := print "/tags/" (. | urlize) "/" -}}
|
||||
<a class="tag" href={{- $url | relLangURL -}}>{{- . -}}</a>
|
||||
{{- end -}}
|
||||
</bt>
|
||||
</p>
|
||||
{{- end -}}
|
Reference in New Issue
Block a user