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/_default/single.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'site/layouts/_default/single.html') diff --git a/site/layouts/_default/single.html b/site/layouts/_default/single.html index 2126d61..159e454 100644 --- a/site/layouts/_default/single.html +++ b/site/layouts/_default/single.html @@ -1,5 +1,6 @@ -{{ partial "head" . }} -{{ partial "nav" . }} +{{ define "main" }} + {{ partial "jumbotron" (dict "imageUrl" "/img/7.jpg" "title" "This is where the heading goes" "subtitle" "This is where the subtitle goes") }} - {{ .Content }} -{{ partial "footer" . }} +{{ .Content }} + +{{ end }} -- cgit v1.3