diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f0da4d0..cc6c0bc 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,6 +2,7 @@ {{ block "header" . }}{{ end }} + {{ partial "body/custom.html" . }} {{ partial "sidebar.html" . }}
{{ block "content" . }}{{ end }} diff --git a/layouts/index.html b/layouts/index.html index c1a00bb..4f011a6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -36,9 +36,5 @@ {{ end }} {{ define "footer" }} - {{ if .Site.GoogleAnalytics }} - - {{ template "_internal/google_analytics_async.html" . }} - {{ end }} - {{ partial "footer/font-awesome-js.html" . }} + {{ partial "footer.html" . }} {{ end }} diff --git a/layouts/partials/body/custom.html b/layouts/partials/body/custom.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..f83aeac --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,6 @@ +{{ if .Site.GoogleAnalytics }} + + {{ template "_internal/google_analytics_async.html" . }} +{{ end }} +{{ partial "footer/font-awesome-js.html" . }} +{{ partial "footer/custom.html" . }} diff --git a/layouts/partials/footer/footer.html b/layouts/partials/footer/footer.html deleted file mode 100644 index 115fed3..0000000 --- a/layouts/partials/footer/footer.html +++ /dev/null @@ -1,2 +0,0 @@ -{{ partial "footer/font-awesome-js.html" . }} -{{ partial "footer/custom.html" . }}