Prevent avatar from breaking outside of homepage

This commit is contained in:
Elnu 2023-03-01 19:58:58 -08:00
parent df3366a3db
commit 43b69e775e

View file

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