Files
Tim Bannister 7e23f0f875 Tidy & fix deprecation warnings
Co-Authored-By: Karen Bradshaw <kbhawkey@gmail.com>
2020-08-16 18:34:09 +01:00

16 lines
555 B
HTML

{{ if not (.Site.Param "deprecated") }}
{{- $filepath := .page.File.Path }}
{{- $editLink := printf "https://github.com/kubernetes/website/edit/master/content/%s/%s" .page.Language.Lang $filepath }}
<p>
<a href="{{ $editLink }}" id="editPageButton" target="_blank" data-proofer-ignore>
Edit This Page
</a>
</p>
{{- end -}}
{{ if not .page.Params.notitle }}
<h1>{{ .page.Title }}</h1>
{{ $desc := .page.Description }}
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
{{ end }}
{{ .page.Content }}