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

github.com/naro143/hugo-coder-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaro143 <y.ishimi@itdharman.com>2019-04-25 11:49:40 +0300
committernaro143 <y.ishimi@itdharman.com>2019-04-25 11:49:40 +0300
commitcdadc7ac1ea6d9a262bae02e203a3ec86391f95f (patch)
tree60c7bf0a8b23f9cf3a835ca5dade563f8588fbd0
parent575397b8bd4b3d34da1d29b72a07501f5a7e2743 (diff)
fix: avatarImageURL
-rw-r--r--layouts/partials/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/home.html b/layouts/partials/home.html
index 0e5d043..6c70cf4 100644
--- a/layouts/partials/home.html
+++ b/layouts/partials/home.html
@@ -1,7 +1,7 @@
<section class="container centered">
<div class="about">
{{ with .Site.Params.avatarurl }}
- <div class="avatar"><img src="{{.}}" alt="avatar"></div>
+ <div class="avatar"><img src="{{ . | absURL }}" alt="avatar"></div>
{{ end }}
<h1>{{ .Site.Params.author }}</h1>
<h2>{{ .Site.Params.info }}</h2>