Skip to content

Commit 9614388

Browse files
author
Tim Bannister
committed
Set sitemap priority for key pages
The very key pages get 1.0 priority; other good landing pages get 0.9 and the remaining pages have a default priority, 0.75.
1 parent b66ce8d commit 9614388

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
@@ -66,6 +66,10 @@ date = ["date", ":filename", "publishDate", "lastmod"]
6666
[permalinks]
6767
blog = "/:section/:year/:month/:day/:slug/"
6868

69+
[sitemap]
70+
filename = "sitemap.xml"
71+
priority = 0.75
72+
6973
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
7074
[outputs]
7175
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)