diff options
author | Laurent G <xenlaurent@hotmail.com> | 2019-06-18 00:23:20 +0300 |
---|---|---|
committer | Laurent G <xenlaurent@hotmail.com> | 2019-06-18 00:23:20 +0300 |
commit | 74c1b8e7c37ba8c3b388c6597e584e5b522855a1 (patch) | |
tree | bdfe1f0e861bbc36f3921dc1dfa79c545b91a5fa /layouts | |
parent | 1cd0cbb7252665e692e9845eaa5e2d3572fcc9ae (diff) |
Proposition to correct issue #327, align static image behavior
Second attempt with the right account this time I hope
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/cover.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/cover.html b/layouts/partials/cover.html index f655a79..1e0e026 100644 --- a/layouts/partials/cover.html +++ b/layouts/partials/cover.html @@ -3,7 +3,7 @@ {{ $cover := . }} <div id="cover" style="background-image:url('{{ $cover | absURL }}');"></div> {{ else }} - {{ $cover := (printf "images/%s" .) }} - <div id="cover" style="background-image:url('{{ $cover | absURL }}');"></div> + {{ $cover := . }} + <div id="cover" style="background-image:url('{{ $cover }}');"></div> {{ end }} {{ end }} |