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/partials/2-up.html | 23 +++++++++-------------- site/layouts/partials/text-and-image.html | 2 +- 2 files changed, 10 insertions(+), 15 deletions(-) (limited to 'site/layouts/partials') diff --git a/site/layouts/partials/2-up.html b/site/layouts/partials/2-up.html index 06849f0..ab827b4 100644 --- a/site/layouts/partials/2-up.html +++ b/site/layouts/partials/2-up.html @@ -1,24 +1,19 @@
-

{{.heading}}

-

{{.description}}

+

{{.intro.heading}}

+

{{.intro.text}}

+ {{ range .products }}
- -

{{.text1}}

-
- -
- -

{{.text2}}

+ +

{{.text}}

+ {{ end }}
- {{ if .buttonText }} - - {{ end }} +
diff --git a/site/layouts/partials/text-and-image.html b/site/layouts/partials/text-and-image.html index 06baa68..7a55f15 100644 --- a/site/layouts/partials/text-and-image.html +++ b/site/layouts/partials/text-and-image.html @@ -3,7 +3,7 @@
-

{{.heading}}

+

{{.heading}}

{{.text}}

-- cgit v1.3