Fix multilingual home page avatar (#134)

This commit is contained in:
Joseph Ting 2019-01-07 22:16:38 +09:00 committed by Luiz F. A. de Prá
parent fc576925eb
commit 07687c49c0
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<section class="container centered"> <section class="container centered">
<div class="about"> <div class="about">
{{ with .Site.Params.avatarurl }} {{ with .Site.Params.avatarurl }}
<div class="avatar"><img src="{{ . }}" alt="avatar"></div> <div class="avatar"><img src="{{ . | relURL }}" alt="avatar"></div>
{{ end }} {{ end }}
<h1>{{ .Site.Params.author }}</h1> <h1>{{ .Site.Params.author }}</h1>
<h2>{{ .Site.Params.info }}</h2> <h2>{{ .Site.Params.info }}</h2>