blob: 61fb522b10ad6bad5b1f361a314af812138c7d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{{/*
Parameters:
- type: "tags" or "categories"
- context: (.)
- scratch: (Scratch)
- removeDuplicates: BOOL
*/}}
{{ .scratch.Delete .type }}
{{ partial "utils/get-keywords.html" (dict "type" .type "context" .context "scratch" .scratch "removeDuplicates" .removeDuplicates) }}
{{ range (.scratch.Get .type) }}
<a href="{{ (print "/" $.type "/") | relLangURL }}{{ . | urlize }}" title="{{ . }}">
{{ . }}
</a>
{{ end }}
{{ .scratch.Delete .type }}
|