Add a perfectly appropriate alt text to icon image

Yes 100% suitable :P

It describes what the image is to those who can't see the image
perfectly well.

It magically makes the image show up in terminal browsers, as if your
terminal browser can render small images to the very pixel.

Bonus, for terminal/text-based browsers the "image" can even adapt to
your custom font! How cool is that?

Look, people, unique per-user images without cookies, without
javascript, without sessions, without CSS.

It was a very pleasant commit-message-writing experience...

Until realization hit. Why TF did you have the stupid image in the first
image when it can just be a block of text (<code>)? Oops! Let's not
celebrate my site's accessibility features too early, *cough* *cough*.

---
PS: Anyways after like almost two(?) years my site finally has a
favicon, lol, see previous commits.
This commit is contained in:
hedy 2022-05-16 20:53:08 +08:00
parent 2e432e356f
commit 5fb340aa03
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
{{ $pfp := resources.Get "/dotslash-ppyl.svg" | resources.Fingerprint "md5" -}}
<img class="pfp" width="32" height="32" src="{{ $pfp.Permalink }}">
<img alt="./" class="pfp" width="32" height="32" src="{{ $pfp.Permalink }}">