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

github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Lane <git@sean.lane.sh>2019-01-22 23:40:25 +0300
committerSean Lane <git@sean.lane.sh>2019-01-22 23:40:25 +0300
commit3d052fe6df50dd3902f0fc8515e5b98dabe50e36 (patch)
tree82f2bbde4371657ae23546f2e6fd0ea4d9c16783
parent46bc34ef61c7362b0f7e5fbb9efeaf624548b7e0 (diff)
Change to absURL on homepage
-rw-r--r--layouts/partials/home.html2
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>