change theme again :D

This commit is contained in:
naoufal zerai
2022-08-18 15:20:15 -04:00
parent dee5809c1a
commit 5dba10766d
287 changed files with 28330 additions and 1506 deletions

View File

@@ -0,0 +1,16 @@
{{- if or .Params.categories .Params.tags -}}
<section class="article labels">
{{- range .Params.categories -}}
{{- $category := replace . "#" "%23" -}}
{{- $category = replace $category "." "%2e" -}}
{{- $url := print "/categories/" ($category | urlize) "/" -}}
<a class="category" href={{- $url | relLangURL -}}>{{- . -}}</a>
{{- end -}}
{{- range .Params.tags -}}
{{- $tag := replace . "#" "%23" -}}
{{- $tag = replace $tag "." "%2e" -}}
{{- $url := print "/tags/" ($tag | urlize) "/" -}}
<a class="tag" href={{- $url | relLangURL -}}>{{- . -}}</a>
{{- end -}}
</section>
{{- end -}}