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/pages/hero.html')
-rw-r--r--layouts/partials/pages/hero.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/pages/hero.html b/layouts/partials/pages/hero.html
index bf77872..b29ca38 100644
--- a/layouts/partials/pages/hero.html
+++ b/layouts/partials/pages/hero.html
@@ -3,7 +3,7 @@
{{ $image := .Resources.GetMatch .Params.image }}
{{ if $image }}
<div class="header-image"
- style="background-image: url('{{ $image.RelPermalink | relURL }}');"
+ style="background-image: url('{{ $image.Permalink }}');"
>
{{ with .Params.image_copyright }}
<p class="copyright">{{ . | markdownify }}</p>