diff options
author | Sean Lane <git@sean.lane.sh> | 2019-01-22 23:40:25 +0300 |
---|---|---|
committer | Sean Lane <git@sean.lane.sh> | 2019-01-22 23:40:25 +0300 |
commit | 3d052fe6df50dd3902f0fc8515e5b98dabe50e36 (patch) | |
tree | 82f2bbde4371657ae23546f2e6fd0ea4d9c16783 | |
parent | 46bc34ef61c7362b0f7e5fbb9efeaf624548b7e0 (diff) |
Change to absURL on homepage
-rw-r--r-- | layouts/partials/home.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/home.html b/layouts/partials/home.html index ea4bb70..d535387 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -6,7 +6,7 @@ <a class="block relative bg-blue" href="{{ .RelPermalink}}"> {{ with .Resources.ByType "image" }} {{ range first 1 . }} - <div class="image ratio bg-cover" style="background-image:url({{ .RelPermalink }});"></div> + <div class="image ratio bg-cover" style="background-image:url({{ .RelPermalink | absURL }});"></div> {{ end }} {{ else }} <div class="image ratio bg-cover"></div> |