diff --git a/docs/content/introduction.md b/docs/content/introduction.md index 21c538d083..2891ceec27 100644 --- a/docs/content/introduction.md +++ b/docs/content/introduction.md @@ -1,6 +1,7 @@ --- linkTitle: Introduction title: Type-safe graphql for golang +description: Generating GraphQL servers in golang with type safety type: homepage date: 2018-03-17T13:06:47+11:00 --- diff --git a/docs/layouts/sitemap.xml b/docs/layouts/sitemap.xml new file mode 100644 index 0000000000..b5a19b0107 --- /dev/null +++ b/docs/layouts/sitemap.xml @@ -0,0 +1,13 @@ + + {{ range .Data.Pages }} + {{ if or .Description (eq .Kind "home") }} + + {{ .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 }} + + {{ end }} + {{ end }} + +