From b164ceb53c14315301826e98bb4951f3dc28eeca Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 30 Aug 2016 00:31:01 +0300 Subject: [PATCH] Add common HTML tags to head and footer so we can re-use them --- layouts/_default/single.html | 1 + layouts/index.html | 9 --------- layouts/partials/after-footer.html | 3 +++ layouts/partials/head.html | 7 ++++++- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..68a09ae 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1 @@ +{{ .Content }} diff --git a/layouts/index.html b/layouts/index.html index bbef6ea..fb15b2c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,10 +1,5 @@ - - - {{ partial "head.html" . }} - - {{ partial "menu.html" . }} {{ partial "header.html" . }} @@ -14,7 +9,3 @@ {{ partial "footer.html" . }} {{ partial "after-footer.html" . }} - - - - diff --git a/layouts/partials/after-footer.html b/layouts/partials/after-footer.html index e69de29..15b9011 100644 --- a/layouts/partials/after-footer.html +++ b/layouts/partials/after-footer.html @@ -0,0 +1,3 @@ + + + diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e469a8d..18784f0 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,4 +1,7 @@ - + + + + @@ -17,3 +20,5 @@ + +