Switching images to use absolute urls

This commit is contained in:
Brandon Rozek 2025-12-06 14:13:17 -05:00
parent d9c51c967d
commit 9a879c7a40
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
6 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 75 }}
{{ $profile_image := $profile_image.Resize (printf "%dx webp q75" $profile_width) }}
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
<img class="avatarMask u-photo" width="{{ $profile_width }}" height="{{ $profile_width }}" src="{{ $profile_image.Permalink }}" alt="Photo of {{ .Site.Params.Author }}">
<div style="display: none">
<!-- email / description (for h-card) -->
<a class="u-email" href="mailto://{{ .Site.Params.email }}"></a>