Fix multilingual home page avatar (#134)
This commit is contained in:
parent
fc576925eb
commit
07687c49c0
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue