fix avatar size
This commit is contained in:
parent
dbc47652bf
commit
22761fad37
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
<header>
|
<header>
|
||||||
{{ with .Site.Params.avatar }}
|
{{ with .Site.Params.avatar }}
|
||||||
{{ $avatar := resources.Get . }}
|
{{ $avatar := resources.Get . }}
|
||||||
{{ $avatar := $avatar.Resize "200x webp" }}
|
{{ $avatar := $avatar.Resize "64x webp" }}
|
||||||
<img id="avatar" alt="{{ $.Site.Params.displayName }}" src="{{ $avatar.RelPermalink }}" />
|
<img id="avatar" alt="{{ $.Site.Params.displayName }}" src="{{ $avatar.RelPermalink }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue