diff options
author | Alex <onedrawingperday@gmail.com> | 2018-12-05 22:51:56 +0300 |
---|---|---|
committer | Alex <onedrawingperday@gmail.com> | 2018-12-05 22:51:56 +0300 |
commit | 9c290b5d33160a7e943b1433296724e52e839aac (patch) | |
tree | eb62594e25f6e490c4da7c944b767241be420c07 /layouts/partials/sections/contact.html | |
parent | 734645842d4850e0a1b67052ce0d983913a063cd (diff) |
Permalink Fix Hugo Themes Demo
Diffstat (limited to 'layouts/partials/sections/contact.html')
-rw-r--r-- | layouts/partials/sections/contact.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sections/contact.html b/layouts/partials/sections/contact.html index 8eaf3e2..4f4da1b 100644 --- a/layouts/partials/sections/contact.html +++ b/layouts/partials/sections/contact.html @@ -2,7 +2,7 @@ {{ with .Site.Data.contact }} <section class="section" id="contact" {{ with .background_image }} - style="background-image: url('{{ (printf "images/%s" .) | relURL }}');" + style="background-image: url('{{ (printf "images/%s" .) | absURL }}');" {{ end }} > <div class="container-fluid"> @@ -19,7 +19,7 @@ <div class="col-md-4 col-md-offset-1 text-center"> <div class="profile bg-secondary"> {{ with .photo }} - <div class="portrait" title="photo: {{ . }}" style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"></div> + <div class="portrait" title="photo: {{ . }}" style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"></div> {{ end }} {{ with .description }} |