From 994e6b1f754998597cc40c4a1540a0810de96a6a Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Sun, 18 Dec 2016 09:48:27 +0100 Subject: [PATCH] (#25) use .Site.BaseURL to lcoate static assets --- layouts/404.html | 16 ++++++++-------- layouts/index.html | 14 +++++++------- layouts/partials/footer.html | 20 ++++++++++---------- layouts/partials/header.html | 18 +++++++++--------- layouts/partials/search.html | 6 +++--- 5 files changed, 37 insertions(+), 37 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 432c9b285c..b4cef9a342 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -5,13 +5,13 @@ {{ partial "meta.html" . }} {{ partial "favicon.html" . }} {{ .Scratch.Add "title" "" }}{{ if isset .Site.Data.titles .Title }}{{ .Scratch.Set "title" (index .Site.Data.titles .Title).title }}{{ else }}{{ .Scratch.Set "title" .Title}}{{end}} {{ .Scratch.Get "title" }} {{ partial "style.html" . }} - - - - - - - + + + + + + + {{ partial "style.html" . }} diff --git a/layouts/partials/search.html b/layouts/partials/search.html index 709355b31b..a53a65f0f1 100644 --- a/layouts/partials/search.html +++ b/layouts/partials/search.html @@ -3,9 +3,9 @@ - - + + - +