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/values.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 site/layouts/section/values.html (limited to 'site/layouts/section/values.html') diff --git a/site/layouts/section/values.html b/site/layouts/section/values.html new file mode 100644 index 0000000..9b6fa13 --- /dev/null +++ b/site/layouts/section/values.html @@ -0,0 +1,17 @@ +{{ partial "head" . }} +{{ partial "nav" . }} +{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title) }} + +
+ + {{ range $index, $element := .Params.values }} + {{ if modBool $index 2 }} + {{ partial "media-block" $element }} + {{ else }} + {{ partial "media-block-reverse" $element }} + {{ end }} + {{ end }} + +
+ +{{ partial "footer" . }} -- cgit v1.3