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:
parent
4a916984e6
commit
6eacf90e18
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user