File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -953,16 +953,16 @@ footer_about_disable = false
953953
954954
955955[outputFormats ]
956- [outputFormats .PagesSitemap ]
956+ [outputFormats .HomepageSitemap ]
957957 mediaType = " application/xml"
958- baseName = " pages -sitemap"
958+ baseName = " homepage -sitemap"
959959 isHTML = false
960960 isPlainText = false
961961 notAlternative = true
962962
963963[outputs ]
964- home = [" HTML" , " SITEMAP" , " PagesSitemap " ]
965- section = [ " HTML " , " SITEMAP " ]
964+ home = [" HTML" , " SITEMAP" , " HomepageSitemap " ]
965+
966966
967967
968968[deployment ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{{ printf "<?xml version =\" 1.0\" encoding =\" utf-8\" standalone =\" yes\" ?>" | safeHTML }}
22<urlset xmlns =" http://www.sitemaps.org/schemas/sitemap/0.9" >
3- {{ range .Site.RegularPages }}
4- <url >
5- <loc >{{ .Permalink }}</loc >
6- <lastmod >{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</lastmod >
7- <changefreq >{{ .Params.changefreq | default "monthly" }}</changefreq >
8- <priority >{{ .Params.priority | default "0.5" }}</priority >
9- </url >
10- {{ end }}
11- {{/* Include homepage */}}
123 <url >
134 <loc >{{ .Site.BaseURL }}</loc >
145 <lastmod >{{ .Site.LastChange.Format "2006-01-02T15:04:05-07:00" }}</lastmod >
Original file line number Diff line number Diff line change 11{{ printf "<?xml version =\" 1.0\" encoding =\" utf-8\" standalone =\" yes\" ?>" | safeHTML }}
22<sitemapindex xmlns =" http://www.sitemaps.org/schemas/sitemap/0.9" >
3- {{/* Hugo-generated sitemaps */}}
4- {{ range .Site.Sections }}
3+ {{/* Homepage sitemap */}}
54 <sitemap >
6- <loc >{{ .Permalink }}sitemap.xml</loc >
7- <lastmod >{{ .Lastmod .Format "2006-01-02T15:04:05-07:00" }}</lastmod >
5+ <loc >{{ .Site.BaseURL }}homepage- sitemap.xml</loc >
6+ <lastmod >{{ .Site.LastChange .Format "2006-01-02T15:04:05-07:00" }}</lastmod >
87 </sitemap >
9- {{ end }}
108
11- {{/* Main pages sitemap (if you have standalone pages) */}}
12- {{ if .Site.RegularPages }}
13- <sitemap >
14- <loc >{{ .Site.BaseURL }}pages-sitemap.xml</loc >
15- <lastmod >{{ now.Format "2006-01-02T15:04:05-07:00" }}</lastmod >
16- </sitemap >
17- {{ end }}
18-
19- {{/* Additional GroupDocs tutorial sitemaps */}}
9+ {{/* GroupDocs tutorial sitemaps */}}
2010 <sitemap >
2111 <loc >https://tutorials.groupdocs.com/viewer/sitemap.xml</loc >
2212 <lastmod >{{ now.Format "2006-01-02T15:04:05-07:00" }}</lastmod >
You can’t perform that action at this time.
0 commit comments