about: Clean up the markup a little bit

I'm still not happy with the circular image. It's not aligned like I would like.
This commit is contained in:
Eryn Wells 2025-01-01 10:44:14 -08:00
parent 3f436085a3
commit 0877f504b3
2 changed files with 10 additions and 8 deletions

View file

@ -6,7 +6,8 @@
{{- $resized_img := $img.Resize (printf "%dx%d" $width $width) -}}
<img
{{ with $id }}id="{{ . }}"{{ end }}
class="circular{{ with $classes }} {{ . }}{{ end }}"
class="img--circular{{ with $classes }} {{ . }}{{ end }}"
src="{{ $img.RelPermalink }}"
{{ with $alt }}alt="{{ . }}"{{ end }}
width="{{ $width }}" height="{{ $width }}">
width="{{ $width }}"
height="{{ $width }}">