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

github.com/shaform/hugo-theme-den.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaform <shaform@gmail.com>2018-07-26 08:55:25 +0300
committerShaform <shaform@gmail.com>2018-07-26 08:55:25 +0300
commit8b88b2b9f25b05919d81fec5ab711f9a6f68dd89 (patch)
tree391b932f94d0c51d6c435fb72b690c61491b3b05 /layouts
parentc323e125ae9fc4f9f02eecc8f8622f21ddbf967f (diff)
use Permalink instead of RelPermalink
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 299caca..b1a4cf6 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -12,7 +12,7 @@
</head>
<body>
{{ if .Resources.GetMatch "header" }}
- <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ (.Resources.GetMatch "header").RelPermalink }}'); background-position: center; background-size: cover; ">
+ <div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ (.Resources.GetMatch "header").Permalink }}'); background-position: center; background-size: cover; ">
{{ else if .Site.Params.headerImage }}
<div class="header-container" style="background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('{{ .Site.Params.headerImage | absURL }}'); background-position: center; background-size: cover;">
{{ else }}