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/index.html

25 lines
658 B

{{ define "title"}} {{ .Site.Title}} {{end}}
{{ define "header"}} {{ partial "header" .}} {{end}}
{{ define "main"}}
<div id="main">
<div id="hero">
<h1>{{.Title}}</h1>
<!-- <h1>Overview</h1> -->
<p>{{.Description}}</p>
</div>
<div id="components">
<div class="row gutters">
{{ $section := where $.Site.RegularPages "Section" "docs" }}
{{ range $section.ByWeight }}
<div class="col col-4 item">
<h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4>
<p>{{ .Params.description }}</p>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ define "footer"}} {{ partial "footer" .}} {{end}}