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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sections/contact.html')
-rw-r--r--layouts/partials/sections/contact.html4
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 }}