Update Git info CSS (#10496)
This commit is contained in:
committed by
k8s-ci-robot
parent
207aa49500
commit
4a6a022e61
@@ -0,0 +1,18 @@
|
||||
{{- $filepath := .page.File.Path }}
|
||||
{{- $editLink := printf "https://github.com/kubernetes/website/edit/master/content/en/%s" $filepath }}
|
||||
<p>
|
||||
<a href="{{ $editLink }}" id="editPageButton" target="_blank">
|
||||
Edit This Page
|
||||
</a>
|
||||
</p>
|
||||
{{ if not .page.Params.notitle }}
|
||||
<h1>{{ .page.Title }}</h1>
|
||||
{{ end }}
|
||||
{{ with .page.Params.content_template }}
|
||||
{{ partial . $ }}
|
||||
{{ else }}
|
||||
{{ if and (not .page.Params.toc_hide) (not (.page.HasShortcode "toc")) }}
|
||||
{{ .page.TableOfContents }}
|
||||
{{ end }}
|
||||
{{ .page.Content }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user