mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
Merge commit '87de22d7464e239c775fbd48ebce1665d5b1e80d'
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
---
|
||||
title: Sitemap Templates
|
||||
title: Sitemap templates
|
||||
description: Hugo provides built-in sitemap templates.
|
||||
categories: [templates]
|
||||
keywords: [sitemap, xml, templates]
|
||||
menu:
|
||||
docs:
|
||||
parent: templates
|
||||
weight: 160
|
||||
weight: 160
|
||||
weight: 170
|
||||
weight: 170
|
||||
aliases: [/layout/sitemap/,/templates/sitemap/]
|
||||
toc: true
|
||||
---
|
||||
@@ -43,7 +43,7 @@ filename
|
||||
priority
|
||||
: The priority of a page relative to any other page on the site. Valid values range from 0.0 to 1.0. Default is `-1` (priority omitted from rendered sitemap).
|
||||
|
||||
## Override Default Values
|
||||
## Override default values
|
||||
|
||||
Override the default values for a given page in front matter.
|
||||
|
||||
@@ -54,7 +54,7 @@ title = 'News'
|
||||
priority = 0.8
|
||||
{{</ code-toggle >}}
|
||||
|
||||
## Override Built-in Templates
|
||||
## Override built-in templates
|
||||
|
||||
To override the built-in sitemap.xml template, create a new file in either of these locations:
|
||||
|
||||
@@ -68,7 +68,7 @@ To override the built-in sitemapindex.xml template, create a new file in either
|
||||
- layouts/sitemapindex.xml
|
||||
- layouts/_default/sitemapindex.xml
|
||||
|
||||
## Disable Sitemap Generation
|
||||
## Disable sitemap generation
|
||||
|
||||
You may disable sitemap generation in your site configuration:
|
||||
|
||||
|
Reference in New Issue
Block a user