diff options
| author | MadeByMike <mike@madebymike.com.au> | 2018-01-01 22:46:28 +1100 |
|---|---|---|
| committer | Shawn Erquhart <shawn@erquh.art> | 2018-01-09 17:40:17 -0500 |
| commit | 5cc1f9b3670f06431775e026e5f9ea334e5a1e47 (patch) | |
| tree | 2728259a26437f99b899955d063906a79f3788db /site/layouts/section | |
| parent | 3a46e313ab10a2676e614795c7da43033bd1739a (diff) | |
Add baseof template
Diffstat (limited to 'site/layouts/section')
| -rw-r--r-- | site/layouts/section/contact.html | 6 | ||||
| -rw-r--r-- | site/layouts/section/products.html | 5 | ||||
| -rw-r--r-- | site/layouts/section/values.html | 6 |
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 }} |
