diff options
| author | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-12-07 00:21:51 -0800 |
|---|---|---|
| committer | Benaiah Mischenko <benaiah@mischenko.com> | 2017-12-07 01:43:09 -0800 |
| commit | d91206659bd17c190e2940a2c564f371cafc7ebc (patch) | |
| tree | 3ae40f7a9c2668fb4ffaaa7fdd2746e8e5ccb267 /site/layouts/section/contact.html | |
| parent | 3dc23ec6642f8238a9bb3e618544108cddcf2791 (diff) | |
Update hugo and content structure; add home page to CMS
This updates to hugo v0.31
It also adapts the content model to follow the convention for sections
with _index.md files and makes the home page a fully editable section
Diffstat (limited to 'site/layouts/section/contact.html')
| -rw-r--r-- | site/layouts/section/contact.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/site/layouts/section/contact.html b/site/layouts/section/contact.html new file mode 100644 index 0000000..205d92e --- /dev/null +++ b/site/layouts/section/contact.html @@ -0,0 +1,26 @@ +{{ partial "head" . }} + +{{ partial "nav" . }} + +<div class="ph3 bg-off-white"> + <div class="center mw6 pv3"> + + <img src="{{ .Params.logo }}" alt="" class="db w4 center pv4"> + + {{ .Content }} + + <div class="flex-ns mb3"> + {{ range .Params.contact_entries }} + <div> + <h4 class="f4 b lh-title mb2 primary">{{ .heading }}</h4> + <p>{{ .text }}</p> + </div> + {{ end }} + </div> + + {{ partial "contact-form" . }} + + </div> +</div> + +{{ partial "footer" . }} |
