github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/stories/views/sitemap.xml.got (about) 1 {{ xmlpreamble }} 2 <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> 3 <url> 4 <loc>{{root_url}}</loc> 5 <lastmod>{{ date .pubdate.UTC "2006-01-02" }}</lastmod> 6 <changefreq>monthly</changefreq> 7 <priority>1.0</priority> 8 </url> 9 <url> 10 <loc>{{root_url}}/stories/code</loc> 11 <lastmod>{{ date .pubdate.UTC "2006-01-02" }}</lastmod> 12 <changefreq>monthly</changefreq> 13 <priority>1.0</priority> 14 </url> 15 <url> 16 <loc>{{root_url}}/stories/stories?q=Video:</loc> 17 <lastmod>{{ date .pubdate.UTC "2006-01-02" }}</lastmod> 18 <changefreq>monthly</changefreq> 19 <priority>1.0</priority> 20 </url> 21 <url> 22 <loc>{{root_url}}/stories?q=Hiring:</loc> 23 <lastmod>{{ date .pubdate.UTC "2006-01-02" }}</lastmod> 24 <changefreq>monthly</changefreq> 25 <priority>1.0</priority> 26 </url> 27 {{ range .stories }} 28 <url> 29 <loc>{{root_url}}{{.CanonicalURL}}</loc> 30 <lastmod>{{ date .CreatedAt.UTC "2006-01-02" }}</lastmod> 31 <changefreq>monthly</changefreq> 32 <priority>0.8</priority> 33 </url> 34 {{ end }} 35 </urlset>