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.
pull/24149/head
Tim Bannister 2020-09-26 14:06:22 +01:00
parent b66ce8d8cd
commit 961438877d
5 changed files with 12 additions and 0 deletions

View File

@ -66,6 +66,10 @@ date = ["date", ":filename", "publishDate", "lastmod"]
[permalinks]
blog = "/:section/:year/:month/:day/:slug/"
[sitemap]
filename = "sitemap.xml"
priority = 0.75
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
[outputs]
home = [ "HTML", "RSS", "HEADERS" ]

View File

@ -2,6 +2,8 @@
title: "Production-Grade Container Orchestration"
abstract: "Automated container deployment, scaling, and management"
cid: home
sitemap:
priority: 1.0
---
{{< blocks/section id="oceanNodes" >}}

View File

@ -1,4 +1,6 @@
---
linktitle: Kubernetes Documentation
title: Documentation
sitemap:
priority: 1.0
---

View File

@ -2,4 +2,6 @@
title: "Overview"
weight: 20
description: Get a high-level outline of Kubernetes and the components it is built from.
sitemap:
priority: 0.9
---

View File

@ -10,6 +10,8 @@ weight: 10
card:
name: concepts
weight: 10
sitemap:
priority: 0.9
---
<!-- overview -->