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:
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r--layouts/partials/head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 31ddbd6..7742efc 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -46,7 +46,7 @@
<!-- Icons -->
<link rel="shortcut icon" href="{{ "/favicon.png" | relURL }}">
-{{ with .Params.background }}
-<style type="text/css">body {background-image:url({{ . | relURL }});}</style>
+{{ with $.Param "background" }}
+<style type="text/css">body {background-image:url({{ . }});}</style>
{{ end }}
</head>