diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-12-04 15:24:01 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-12-04 15:24:01 +0100 |
commit | d19ed4d4e69f51873135f05a51831d25ecc2071e (patch) | |
tree | 74dfd9af2b0f4a6c0933266c50ceaa569d388c71 /docs/content/en/templates/sitemap-template.md | |
parent | 9f978d387f8b7cb6bc03fe6b4dd52bb16862a784 (diff) | |
parent | 35dec7c96f7ee3eb17dd444f7067f0c776fb56ae (diff) |
Merge commit '35dec7c96f7ee3eb17dd444f7067f0c776fb56ae'
Diffstat (limited to 'docs/content/en/templates/sitemap-template.md')
-rw-r--r-- | docs/content/en/templates/sitemap-template.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/content/en/templates/sitemap-template.md b/docs/content/en/templates/sitemap-template.md index 4f86380f1..07acfdb63 100644 --- a/docs/content/en/templates/sitemap-template.md +++ b/docs/content/en/templates/sitemap-template.md @@ -2,14 +2,14 @@ title: Sitemap templates description: Hugo provides built-in sitemap templates. categories: [templates] -keywords: [sitemap, xml, templates] +keywords: [sitemap,xml,templates] menu: docs: parent: templates weight: 170 weight: 170 -aliases: [/layout/sitemap/,/templates/sitemap/] toc: true +aliases: [/layout/sitemap/,/templates/sitemap/] --- ## Overview @@ -27,7 +27,7 @@ With a multilingual project, Hugo generates: Set the default values for [change frequency] and [priority], and the name of the generated file, in your site configuration. -{{< code-toggle config="sitemap" />}} +{{< code-toggle config=sitemap />}} changefreq : How frequently a page is likely to change. Valid values are `always`, `hourly`, `daily`, `weekly`, `monthly`, `yearly`, and `never`. Default is `""` (change frequency omitted from rendered sitemap). @@ -42,7 +42,7 @@ priority Override the default values for a given page in front matter. -{{< code-toggle file="news.md" fm=true >}} +{{< code-toggle file=news.md fm=true >}} title = 'News' [sitemap] changefreq = 'weekly' @@ -67,7 +67,7 @@ To override the built-in sitemapindex.xml template, create a new file in either You may disable sitemap generation in your site configuration: -{{< code-toggle file="hugo" >}} +{{< code-toggle file=hugo >}} disableKinds = ['sitemap'] {{</ code-toggle >}} |