Skip to content

Commit 5857387

Browse files
authored
Merge pull request #24149 from sftim/20200926_set_priority_for_key_pages
Set sitemap priority for key pages
2 parents c7441cd + 9614388 commit 5857387

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ date = ["date", ":filename", "publishDate", "lastmod"]
8383
[permalinks]
8484
blog = "/:section/:year/:month/:day/:slug/"
8585

86+
[sitemap]
87+
filename = "sitemap.xml"
88+
priority = 0.75
89+
8690
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
8791
[outputs]
8892
home = [ "HTML", "RSS", "HEADERS" ]

content/en/_index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "Production-Grade Container Orchestration"
33
abstract: "Automated container deployment, scaling, and management"
44
cid: home
5+
sitemap:
6+
priority: 1.0
57
---
68

79
{{< blocks/section id="oceanNodes" >}}

content/en/docs/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
22
linktitle: Kubernetes Documentation
33
title: Documentation
4+
sitemap:
5+
priority: 1.0
46
---

content/en/docs/concepts/overview/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
title: "Overview"
33
weight: 20
44
description: Get a high-level outline of Kubernetes and the components it is built from.
5+
sitemap:
6+
priority: 0.9
57
---

content/en/docs/concepts/overview/what-is-kubernetes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ weight: 10
1010
card:
1111
name: concepts
1212
weight: 10
13+
sitemap:
14+
priority: 0.9
1315
---
1416

1517
<!-- overview -->

0 commit comments

Comments
 (0)