diff options
author | Karl <kc0bfv@gmail.com> | 2020-01-13 14:54:11 +0300 |
---|---|---|
committer | Karl <kc0bfv@gmail.com> | 2020-01-13 14:54:11 +0300 |
commit | f3f7dddbc3c39340c05955c79d29d24250fbcdfb (patch) | |
tree | 7bcf324918ea323a04943d823715f94c156e1112 | |
parent | bc15e73e7db492010a0ffc2f8a64bd0242119071 (diff) |
Fix relurl issue now
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6438b2b..8951a6e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -42,13 +42,13 @@ <style> {{ with .Site.Params.headerimages }} #headerimg { - background-image: url({{ index . 0 | safeURL }}); + background-image: url({{ index . 0 | safeURL | relURL }}); background-size: cover; } {{ end }} {{ with .Params.sideimages }} #sideimage { - background-image: url({{ index . 0 | safeURL }}); + background-image: url({{ index . 0 | safeURL | relURL }}); background-size: cover; } {{ end }} |