From a2b055de52cb90180ad57c26119fe72e61d70494 Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Fri, 18 Oct 2019 00:19:24 -0400 Subject: Updated to Docsy HEAD This updates the vendored docsy to https://github.com/google/docsy/tree/1a09abe6d7eaf02e44f79de3eadf8178a3792e81 --- themes/docsy/userguide/layouts/sitemap.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 themes/docsy/userguide/layouts/sitemap.xml (limited to 'themes/docsy/userguide/layouts') diff --git a/themes/docsy/userguide/layouts/sitemap.xml b/themes/docsy/userguide/layouts/sitemap.xml new file mode 100644 index 000000000..6b62f7e5c --- /dev/null +++ b/themes/docsy/userguide/layouts/sitemap.xml @@ -0,0 +1,22 @@ +{{ printf "" | safeHTML }} + + {{ range .Data.Pages }} + + https://www.docsy.dev{{ .Permalink }}{{ if not .Lastmod.IsZero }} + {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} + {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} + {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }} + {{ end }} + {{ end }} + + {{ end }} + -- cgit v1.2.3