Prevent avatar from breaking outside of homepage

main
Elnu 2 years ago
parent df3366a3db
commit 43b69e775e

@ -5,7 +5,7 @@
<div class="content"> <div class="content">
<a href="/" class="site-header"> <a href="/" class="site-header">
{{ with .Site.Params.Avatar }} {{ with .Site.Params.Avatar }}
<img src="{{ . }}"> <img src="/{{ . }}">
{{ end }} {{ end }}
<header> <header>
<h1>{{ .Site.Title }}</h1> <h1>{{ .Site.Title }}</h1>

Loading…
Cancel
Save