change sitemap to go template
Signed-off-by: Avelino <avelinorun@gmail.com>
This commit is contained in:
parent
62b6fe1c9f
commit
27e9630564
|
@ -6,7 +6,13 @@
|
||||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>http://www.awesome-go.com/</loc>
|
<loc>https://www.awesome-go.com/</loc>
|
||||||
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
||||||
</url>
|
</url>
|
||||||
|
{{range .}}
|
||||||
|
<url>
|
||||||
|
<loc>https://www.awesome-go.com/{{.Slug}}</loc>
|
||||||
|
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
||||||
|
</url>
|
||||||
|
{{end}}
|
||||||
</urlset>
|
</urlset>
|
Loading…
Reference in New Issue