From d91206659bd17c190e2940a2c564f371cafc7ebc Mon Sep 17 00:00:00 2001 From: Mathias Biilmann Christensen Date: Thu, 7 Dec 2017 00:21:51 -0800 Subject: 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 --- site/layouts/section/contact.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 site/layouts/section/contact.html (limited to 'site/layouts/section/contact.html') 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" . }} + +
+
+ + + + {{ .Content }} + +
+ {{ range .Params.contact_entries }} +
+

{{ .heading }}

+

{{ .text }}

+
+ {{ end }} +
+ + {{ partial "contact-form" . }} + +
+
+ +{{ partial "footer" . }} -- cgit v1.3