From f3f7dddbc3c39340c05955c79d29d24250fbcdfb Mon Sep 17 00:00:00 2001
From: Karl <kc0bfv@gmail.com>
Date: Mon, 13 Jan 2020 11:54:11 +0000
Subject: [PATCH] Fix relurl issue now

---
 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 }}

--
Gitblit v1.10.0