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

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordcai <dcai@medallia.com>2017-10-24 08:29:33 +0300
committerdcai <dcai@medallia.com>2017-10-24 08:29:33 +0300
commit719fd60fb84393ad86a0a66abb8244adc0aded4c (patch)
treed74eacf1fbeb58ab7da1d8de1149e2f4bfa68fdf
parent70a49416309b9008e68aa1598463e51a751c4671 (diff)
fix(layout): Make author image url honor baseURL
-rw-r--r--layouts/partials/avatar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/avatar.html b/layouts/partials/avatar.html
index ccdc6af..49d9b7f 100644
--- a/layouts/partials/avatar.html
+++ b/layouts/partials/avatar.html
@@ -1,4 +1,4 @@
<header class="row text-center header">
- {{ with .Site.Params.authorimage }} <img src="img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
+ {{ with .Site.Params.authorimage }} <img src="/img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
<h1 class="author">{{ .Site.Params.author }}</h1>
</header>