ADD quote and default section, ADD cover images to lists, FIX contact section
This commit is contained in:
parent
e6257036b9
commit
57e72154a5
8 changed files with 82 additions and 15 deletions
19
layouts/partials/default.html
Normal file
19
layouts/partials/default.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{- $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>
|
Loading…
Add table
Add a link
Reference in a new issue