From dd151b3f5052f0d922f10460d724fcc6ae9b56c7 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Mon, 1 Mar 2021 11:31:27 -0600 Subject: [PATCH] Fix missing titles on website docs. Also fixes our sitemap to have correct `lastmod` times when built locally (it was already correct on Netlify). Signed-off-by: Matt Moyer --- site/config.yaml | 4 +++- site/content/docs/_index.md | 3 +-- site/content/docs/background/_index.md | 3 +-- site/content/docs/reference/_index.md | 3 +-- site/content/docs/tutorials/_index.md | 3 +-- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/site/config.yaml b/site/config.yaml index 406a5703..f3bdbe69 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -31,4 +31,6 @@ related: - name: date weight: 50 threshold: 0 - toLower: true \ No newline at end of file + toLower: true + +enableGitInfo: true diff --git a/site/content/docs/_index.md b/site/content/docs/_index.md index 704c0d52..f77233ce 100644 --- a/site/content/docs/_index.md +++ b/site/content/docs/_index.md @@ -1,4 +1,5 @@ --- +title: Getting Started with Pinniped cascade: layout: docs menu: @@ -7,8 +8,6 @@ menu: weight: 1 --- -# Getting started with Pinniped - Pinniped is an authentication service for Kubernetes clusters. As a Kubernetes cluster administrator or user, you can learn how Pinniped works, see how to use it on your clusters, and dive into internals of Pinniped's APIs and architecture. diff --git a/site/content/docs/background/_index.md b/site/content/docs/background/_index.md index 74240e8e..d16b0b58 100644 --- a/site/content/docs/background/_index.md +++ b/site/content/docs/background/_index.md @@ -1,4 +1,5 @@ --- +title: Pinniped Background cascade: layout: docs menu: @@ -8,6 +9,4 @@ menu: weight: 110 --- -# Pinniped background - {{< docsmenu "background" >}} diff --git a/site/content/docs/reference/_index.md b/site/content/docs/reference/_index.md index 052154c5..57e36afc 100644 --- a/site/content/docs/reference/_index.md +++ b/site/content/docs/reference/_index.md @@ -1,4 +1,5 @@ --- +title: Pinniped Reference cascade: layout: docs menu: @@ -8,6 +9,4 @@ menu: weight: 100 --- -# Pinniped reference - {{< docsmenu "reference" >}} diff --git a/site/content/docs/tutorials/_index.md b/site/content/docs/tutorials/_index.md index b95b06cd..651d3fdb 100644 --- a/site/content/docs/tutorials/_index.md +++ b/site/content/docs/tutorials/_index.md @@ -1,4 +1,5 @@ --- +title: Pinniped Tutorials cascade: layout: docs menu: @@ -8,8 +9,6 @@ menu: weight: 40 --- -# Pinniped tutorials - These tutorials demonstrate how to use the Pinniped command-line tool, Concierge, and Supervisor: {{< docsmenu "tutorials" >}}