feat: remove the notitle param that is not used anywhere else

pull/50298/head
Sayak Mukhopadhyay 2025-03-28 18:39:24 +05:30
parent ed92214592
commit eb367ee47c
No known key found for this signature in database
GPG Key ID: 89EEFF3FB23D3FFD
3 changed files with 3 additions and 8 deletions

View File

@ -2,7 +2,6 @@
title: kubectl
content_type: tool-reference
description: Référence kubectl
notitle: true
---
## {{% heading "synopsis" %}}

View File

@ -19,8 +19,6 @@
{{ end }}
{{ define "hero" }}
<section class="header-hero text-white pb-4 light-text ">
{{ if not .Params.notitle }}
<h1>{{ .Title }}</h1>
{{ end }}
</section>
{{ end }}

View File

@ -1,6 +1,4 @@
{{ if not .page.Params.notitle }}
<h1 data-pagefind-weight="10">{{ .page.Title }}</h1>
{{ $desc := .page.Description }}
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
{{ end }}
<h1 data-pagefind-weight="10">{{ .page.Title }}</h1>
{{ $desc := .page.Description }}
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
{{ .page.Content }}