mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-28 16:56:26 +00:00
change sitemap to go template
Signed-off-by: Avelino <avelinorun@gmail.com>
This commit is contained in:
parent
62b6fe1c9f
commit
27e9630564
@ -5,8 +5,14 @@
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||
|
||||
<url>
|
||||
<loc>http://www.awesome-go.com/</loc>
|
||||
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
||||
</url>
|
||||
</urlset>
|
||||
<url>
|
||||
<loc>https://www.awesome-go.com/</loc>
|
||||
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
||||
</url>
|
||||
{{range .}}
|
||||
<url>
|
||||
<loc>https://www.awesome-go.com/{{.Slug}}</loc>
|
||||
<lastmod>2016-10-10T07:39:03+00:00</lastmod>
|
||||
</url>
|
||||
{{end}}
|
||||
</urlset>
|
Loading…
Reference in New Issue
Block a user