You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
hugo-theme-kube/layouts/docs/single.html

23 lines
582 B

{{ define "title"}} {{ .Title}} {{end}}
{{ define "header"}} {{ partial "header" .}} {{end}}
{{ define "main"}}
<div id="main">
<div id="hero">
<h1> {{ .Title}} </h1>
<p class="hero-lead">
{{ .Params.bref | safeHTML }}.
</p>
</div>
<div id="kube-component" class="content">
{{ partial "toc" .}}
{{ .Content}}
<!-- Inject script tag in this template -->
{{if .Params.script}}
{{ $script := (delimit (slice "scripts" .Params.script) "/")}}
{{ partial (string $script) .}}
{{end }}
</div>
</div>
{{ end }}