mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 07:44:23 +01:00
Add: get_tags partial
This commit is contained in:
parent
0c2856fefd
commit
d97dd3c235
1 changed files with 9 additions and 0 deletions
9
layouts/partials/get_tags.html
Normal file
9
layouts/partials/get_tags.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ with .Param "tags" }}
|
||||
<div class="tagContainer">
|
||||
{{ range $index, $tag := (. | sort) }}
|
||||
{{ with $.Site.GetPage (printf "/%s/%s" "tags" $tag) }}
|
||||
<a class="tags" href="{{ .Permalink }}">#{{ $tag | urlize }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
Loading…
Reference in a new issue