diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..06de0f0 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,24 @@ + + + + + {{ partial "template/head" . }} + + + + +
+ {{- block "main" . }}{{- end }} + +
+ + {{ template "_internal/google_analytics.html" . }} + {{ partial "template/scripts" . }} + + + \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index fd1edbf..da8f08c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,35 +1,13 @@ - - - - - {{ partial "template/head" . }} +{{ define "main" }} - + {{ partial "banner" site.Data.banner }} + {{ partial "spotlight" site.Data.spotlight1 }} + {{ partial "spotlight" site.Data.spotlight2 }} + {{ partial "spotlight" site.Data.spotlight3 }} + {{ partial "gallery" site.Data.gallery }} + {{ partial "items" site.Data.items }} + {{ partial "elements" . }} + {{ partial "elements_reference" . }} + {{ partial "template/footer" . }} - -
- - - {{ partial "banner" site.Data.banner }} - {{ partial "spotlight" site.Data.spotlight1 }} - {{ partial "spotlight" site.Data.spotlight2 }} - {{ partial "spotlight" site.Data.spotlight3 }} - {{ partial "gallery" site.Data.gallery }} - {{ partial "items" site.Data.items }} - {{ partial "elements" . }} - {{ partial "elements_reference" . }} - {{ partial "template/footer" . }} - - -
- - {{ template "_internal/google_analytics.html" . }} - {{ partial "template/scripts" . }} - - - \ No newline at end of file +{{ end }} \ No newline at end of file