feat: remove the notitle param that is not used anywhere else
parent
ed92214592
commit
eb367ee47c
|
@ -2,7 +2,6 @@
|
||||||
title: kubectl
|
title: kubectl
|
||||||
content_type: tool-reference
|
content_type: tool-reference
|
||||||
description: Référence kubectl
|
description: Référence kubectl
|
||||||
notitle: true
|
|
||||||
---
|
---
|
||||||
## {{% heading "synopsis" %}}
|
## {{% heading "synopsis" %}}
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ define "hero" }}
|
{{ define "hero" }}
|
||||||
<section class="header-hero text-white pb-4 light-text ">
|
<section class="header-hero text-white pb-4 light-text ">
|
||||||
{{ if not .Params.notitle }}
|
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ end }}
|
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{{ if not .page.Params.notitle }}
|
<h1 data-pagefind-weight="10">{{ .page.Title }}</h1>
|
||||||
<h1 data-pagefind-weight="10">{{ .page.Title }}</h1>
|
{{ $desc := .page.Description }}
|
||||||
{{ $desc := .page.Description }}
|
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
|
||||||
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ .page.Content }}
|
{{ .page.Content }}
|
||||||
|
|
Loading…
Reference in New Issue