aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/section
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/section')
-rw-r--r--site/layouts/section/contact.html6
-rw-r--r--site/layouts/section/products.html5
-rw-r--r--site/layouts/section/values.html6
3 files changed, 7 insertions, 10 deletions
diff --git a/site/layouts/section/contact.html b/site/layouts/section/contact.html
index 205d92e..8b5d45c 100644
--- a/site/layouts/section/contact.html
+++ b/site/layouts/section/contact.html
@@ -1,6 +1,4 @@
-{{ partial "head" . }}
-
-{{ partial "nav" . }}
+{{ define "main" }}
<div class="ph3 bg-off-white">
<div class="center mw6 pv3">
@@ -23,4 +21,4 @@
</div>
</div>
-{{ partial "footer" . }}
+{{ end }}
diff --git a/site/layouts/section/products.html b/site/layouts/section/products.html
index bf430ca..6a1243b 100644
--- a/site/layouts/section/products.html
+++ b/site/layouts/section/products.html
@@ -1,5 +1,4 @@
-{{ partial "head" . }}
-{{ partial "nav" . }}
+{{ define "main" }}
{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title) }}
@@ -29,4 +28,4 @@
{{ partial "table" .Params.pricing }}
-{{ partial "footer" . }}
+{{ end }}
diff --git a/site/layouts/section/values.html b/site/layouts/section/values.html
index 9b6fa13..93913e5 100644
--- a/site/layouts/section/values.html
+++ b/site/layouts/section/values.html
@@ -1,5 +1,5 @@
-{{ partial "head" . }}
-{{ partial "nav" . }}
+{{ define "main" }}
+
{{ partial "jumbotron" (dict "imageUrl" .Params.image "title" .Title) }}
<div class="mw7 center ph3 pt4">
@@ -14,4 +14,4 @@
</div>
-{{ partial "footer" . }}
+{{ end }}