1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Sitemap should goto /read and not /view

This commit is contained in:
Zack Scholl 2017-11-04 12:57:04 -06:00
parent 4a916984e6
commit 6eacf90e18

View File

@ -162,7 +162,7 @@ func generateSiteMap() (sitemap string) {
for i := range names { for i := range names {
sitemap += fmt.Sprintf(` sitemap += fmt.Sprintf(`
<url> <url>
<loc>https://cowyo.com/%s/view</loc> <loc>https://cowyo.com/%s/read</loc>
<lastmod>%s</lastmod> <lastmod>%s</lastmod>
<changefreq>monthly</changefreq> <changefreq>monthly</changefreq>
<priority>0.8</priority> <priority>0.8</priority>