{{ 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.description | markdownify }}
      </p>

    </div>
    <div id="kube-component" class="content">
    {{ partial "toc" .}}

    {{ .Content}}

    {{if .Params.script}}
     {{ $script := (delimit (slice "scripts" .Params.script) "/")}}
    {{ partial (string $script) .}}
    {{end }}

    {{ partial "source" . }}

    </div>
    </div>
{{ end }}
{{ define "footer"}} {{ partial "footer" .}} {{end}}
