}}
                    {{ $.Scratch.Add "tags" (printf `/%s` (urlize .)) }}
                {{ end }}
            {{ end }}
        {{ end }}
        {{ $tags := uniq (.Scratch.Get "tags") | sort }}

        {{ range $index, $value := $tags }}
            {{ $tagTerms := (split (strings.TrimPrefix "/" $value) "/") }}
            {{ $depth := (len $tagTerms) }}
            {{ $lastTerm := (delimit (last 1 $tagTerms) " ") }}
            {{ $url := urls.Parse $lastTerm }}
            {{ $path := $url.Path }}
 