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/products.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 site/layouts/section/products.html (limited to 'site/layouts/section/products.html') diff --git a/site/layouts/section/products.html b/site/layouts/section/products.html new file mode 100644 index 0000000..bf430ca --- /dev/null +++ b/site/layouts/section/products.html @@ -0,0 +1,32 @@ +{{ partial "head" . }} +{{ partial "nav" . }} + +{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title) }} + +{{ partial "4-up" .Params.intro }} + + +{{ with .Params.main }} +
+
+

{{ .heading }}

+

{{ .description }}

+
+
+ + +{{ partial "image-grid" . }} +{{ end }} + +
+ {{ range .Params.testimonials }} + {{ partial "blockquote" . }} + {{ end }} +
+ + + + +{{ partial "table" .Params.pricing }} + +{{ partial "footer" . }} -- cgit v1.3