blob: f98756013524d2bb4e3df5075d66432b323019b0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
{{- $file := "/profile/header.jpg" -}}
{{- $image := imageConfig (print "content/" (partial "author-media-path.html" .) $file) -}}
<img
loading="lazy"
width="{{ $image.Width }}"
height="{{ $image.Height }}"
alt="{{ partial "author-name.html" . }}"
src="{{ .Site.BaseURL }}/{{ partial "author-media-path.html" . }}{{ $file }}"
/>
|