mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 06:25:50 +01:00
Add: tags partial template
This commit is contained in:
parent
952ae8c6cb
commit
9311d79df1
1 changed files with 9 additions and 0 deletions
9
layouts/partials/tags.html
Normal file
9
layouts/partials/tags.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{ $taxonomy := "tags" }} {{ with .Param $taxonomy }}
|
||||
<ul>
|
||||
{{ range $index, $tag := . }} {{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ $tag | urlize }}</a>
|
||||
</li>
|
||||
{{- end -}} {{- end -}}
|
||||
</ul>
|
||||
{{ end }}
|
Loading…
Reference in a new issue