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')
-rw-r--r--layouts/partials/sections/about.html2
-rw-r--r--layouts/partials/sections/contact.html4
-rw-r--r--layouts/partials/sections/home.html2
-rw-r--r--layouts/partials/sections/services.html2
4 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html
index 97a4056..02e1b6c 100644
--- a/layouts/partials/sections/about.html
+++ b/layouts/partials/sections/about.html
@@ -16,7 +16,7 @@
<div class="col-xs-12 col-md-4">
<div class="profile">
{{ with .avatar }}
- <div class="portrait" title="avatar: {{ . }}" style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"></div>
+ <div class="portrait" title="avatar: {{ . }}" style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"></div>
{{ end }}
{{ with .short_text }}
<div class="text-primary">
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 }}
diff --git a/layouts/partials/sections/home.html b/layouts/partials/sections/home.html
index 7d1a9f3..364635a 100644
--- a/layouts/partials/sections/home.html
+++ b/layouts/partials/sections/home.html
@@ -2,7 +2,7 @@
{{ with .Site.Data.home }}
<section id="home"
{{ with .background }}
- style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"
+ style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"
{{ end }}
>
<div class="header-content">
diff --git a/layouts/partials/sections/services.html b/layouts/partials/sections/services.html
index 923766c..fcbc90e 100644
--- a/layouts/partials/sections/services.html
+++ b/layouts/partials/sections/services.html
@@ -2,7 +2,7 @@
{{ with .Site.Data.services }}
<section class="section" id="services"
{{ with .background_image }}
- style="background-image: url('{{ (printf "images/%s" .) | relURL }}');"
+ style="background-image: url('{{ (printf "images/%s" .) | absURL }}');"
{{ end }}
>
{{ with .title }}