diff --git a/assets/p/serenity-4x.png b/assets/p/serenity-4x.png new file mode 100644 index 0000000..1988bef Binary files /dev/null and b/assets/p/serenity-4x.png differ diff --git a/content/posts/website-best-practices.md b/content/posts/website-best-practices.md index 30e4072..8cf37ca 100644 --- a/content/posts/website-best-practices.md +++ b/content/posts/website-best-practices.md @@ -15,7 +15,9 @@ sitemap: ChangeFreq: daily Priority: 0.7 featured: 2 -title: Best practices for inclusive textual websites +image: "serenity-4x.png" +image_alt: "Retro-looking web browser with bitmap fonts showing this article's \"code snippet 4\"." +title: "Best practices for inclusive textual websites" ---

Before you begin

diff --git a/content/posts/whatsapp-and-the-domestication-of-users.md b/content/posts/whatsapp-and-the-domestication-of-users.md index 7718d84..afcfce5 100644 --- a/content/posts/whatsapp-and-the-domestication-of-users.md +++ b/content/posts/whatsapp-and-the-domestication-of-users.md @@ -12,6 +12,8 @@ tags: - privacy - platforms featured: 3 +image: "whatsapp_ad_dark.png" +image_alt: "WhatsApp PR notice describing data not collected; analysis in article." title: WhatsApp and the domestication of users ---
@@ -84,13 +86,13 @@ Those of us who were sounding the alarm a few years ago experienced a brief mome The bait-and-switch operation incurred backlash significant enough for a noticeable minority of users to actually migrate; this number turned out to be slightly more than the rounding error WhatsApp was likely expecting. In response, WhatsApp delayed the change and published an ad to improve its image. -{{}} +{{}} -#### Whatsapp Ad {#whatsapp-ad-hd} +#### Whatsapp Ad {#whatsapp-notice-hd} -{{< transcribed-image-figure id="whatsapp-ad" has-transcript="true" >}} +{{< transcribed-image-figure id="whatsapp-notice" has-transcript="true" >}} -{{< picture name="whatsapp_ad" alt="WhatsApp ad describing data not collected" >}} +{{< picture name="whatsapp_ad" alt="WhatsApp notice describing data not collected." >}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 90f4543..e2ad491 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -56,11 +56,18 @@ {{- end -}} -{{ $og_image := resources.Get "/favicon512.png" | resources.Fingerprint "md5" -}} +{{- $og_image := resources.Get "/favicon512.png" | resources.Fingerprint "md5" -}} +{{- $og_image_alt := "" -}} +{{- with .Params.image -}} + {{- $og_image = resources.Get (printf "/p/%s" . ) | resources.Fingerprint "md5" -}} +{{- end -}} +{{- with .Params.image_alt -}} + {{- $og_image_alt = . -}} +{{- end }} {{ printf `` $og_image.Permalink | safeHTML }} - - + + {{ hugo.Generator | replaceRE " />" ">" | safeHTML}}