feat: remove the notitle param that is not used anywhere else
parent
ed92214592
commit
eb367ee47c
|
@ -2,7 +2,6 @@
|
|||
title: kubectl
|
||||
content_type: tool-reference
|
||||
description: Référence kubectl
|
||||
notitle: true
|
||||
---
|
||||
## {{% heading "synopsis" %}}
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue