Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDurand D'souza <durand1@gmail.com>2016-10-17 20:07:04 +0300
committerDurand D'souza <durand1@gmail.com>2016-10-17 20:07:04 +0300
commit2c8b5ee42172c9f64a2027e641a4585649caa6b7 (patch)
tree15763842ec344cef35b5eace24ce7b41d5862294
parent38ba174cb174f25b72cc20bbac72bc7787be5bf3 (diff)
Corrected background image.
-rw-r--r--layouts/partials/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index f8da399..b7edc5b 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -48,6 +48,6 @@
{{ $.Scratch.Set "Params" .Params }}
{{ end }}
{{ with .Params.background }}
-<style type="text/css">body {background-image:url({{ . | absURL }});}</style>
+<style type="text/css">body {background-image:url({{ $.Site.BaseURL }}{{ . }});}</style>
{{ end }}
</head>