squirrel/layouts/partials/default.html

20 lines
502 B
HTML
Raw Normal View History

{{- $params := .params }}
{{- $odd := .odd }}
{{- $id := "section"}}
{{if $params.id}}
{{- $id = $params.id}}
{{else if .id}}
{{- $id = .id }}
{{end}}
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}}">
<div class="section-content funding">
{{ with $params.title }}
<div class="title">
<h1 class="content-title">{{ . }}</h1>
<div class="divider"></div>
</div>
{{ end }}
{{ .content }}
</div>
</div>