mirror of https://github.com/docker/docs.git
13 lines
479 B
JSON
13 lines
479 B
JSON
[
|
|
{{- range where site.Pages "Params.sitemap" "!=" false -}}
|
|
{{- $title := partialCached "utils/title.html" . . -}}
|
|
{{- $desc := partialCached "utils/description.html" . . -}}
|
|
{{- $kwd := partialCached "utils/keywords.html" . . -}}
|
|
{{- $tags := slice -}}
|
|
{{- range (.GetTerms "tags") -}}
|
|
{{ $tags = $tags | append .LinkTitle }}
|
|
{{- end -}}
|
|
{{- jsonify (dict "url" .Permalink "title" $title "description" $desc "keywords" $kwd "tags" $tags) -}},
|
|
{{- end -}}
|
|
{}]
|