From 5cc1f9b3670f06431775e026e5f9ea334e5a1e47 Mon Sep 17 00:00:00 2001 From: MadeByMike Date: Mon, 1 Jan 2018 22:46:28 +1100 Subject: Add baseof template --- site/layouts/section/contact.html | 6 ++---- site/layouts/section/products.html | 5 ++--- site/layouts/section/values.html | 6 +++--- 3 files changed, 7 insertions(+), 10 deletions(-) (limited to 'site/layouts/section') 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" }}
@@ -23,4 +21,4 @@
-{{ 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) }}
@@ -14,4 +14,4 @@
-{{ partial "footer" . }} +{{ end }} -- cgit v1.3