From eb367ee47cd6e048905b927cb7bd9b890452f4fc Mon Sep 17 00:00:00 2001 From: Sayak Mukhopadhyay Date: Fri, 28 Mar 2025 18:39:24 +0530 Subject: [PATCH] feat: remove the notitle param that is not used anywhere else --- content/fr/docs/reference/kubectl/kubectl.md | 1 - layouts/docs/docsportal_home.html | 2 -- layouts/partials/docs/content-page.html | 8 +++----- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/content/fr/docs/reference/kubectl/kubectl.md b/content/fr/docs/reference/kubectl/kubectl.md index 40424cbfd8..a149ebf506 100644 --- a/content/fr/docs/reference/kubectl/kubectl.md +++ b/content/fr/docs/reference/kubectl/kubectl.md @@ -2,7 +2,6 @@ title: kubectl content_type: tool-reference description: Référence kubectl -notitle: true --- ## {{% heading "synopsis" %}} diff --git a/layouts/docs/docsportal_home.html b/layouts/docs/docsportal_home.html index 330197ea1c..9d58f5093a 100644 --- a/layouts/docs/docsportal_home.html +++ b/layouts/docs/docsportal_home.html @@ -19,8 +19,6 @@ {{ end }} {{ define "hero" }}
- {{ if not .Params.notitle }}

{{ .Title }}

- {{ end }}
{{ end }} diff --git a/layouts/partials/docs/content-page.html b/layouts/partials/docs/content-page.html index 962896804a..288fae6259 100644 --- a/layouts/partials/docs/content-page.html +++ b/layouts/partials/docs/content-page.html @@ -1,6 +1,4 @@ -{{ if not .page.Params.notitle }} -

{{ .page.Title }}

- {{ $desc := .page.Description }} - {{ with .page.Params.description }}
{{ $desc | markdownify }}
{{ end }} -{{ end }} +

{{ .page.Title }}

+{{ $desc := .page.Description }} +{{ with .page.Params.description }}
{{ $desc | markdownify }}
{{ end }} {{ .page.Content }}