From e54fc422862dd08923d4a1dfe91d5bbc7c09b327 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 3 May 2022 21:58:52 -0700 Subject: [PATCH] Improve webring link labels "aria-label" doesn't translate well, so use "labelledby" instead. Source the label from a new informational paragraph. --- layouts/partials/webrings.html | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/layouts/partials/webrings.html b/layouts/partials/webrings.html index 1007d62..1f34191 100644 --- a/layouts/partials/webrings.html +++ b/layouts/partials/webrings.html @@ -1,22 +1,21 @@ -

Webrings

-

This site is part of some webrings:

-{{- $refPol := "no-referrer" -}} +-->{{- $refPol := "no-referrer" -}} {{- if eq site.BaseURL "https://seirdy.one/" -}} {{- $refPol = "strict-origin" -}} -{{ end -}} +{{- end -}} +

Webrings

+

This site is part of some webrings. A webring is a collection of sites in a circular doubly-linked list; each website links to the next and previous site in the list.

+{{ $webringData := after 1 (getCSV "," "/csv/webrings.csv") -}} +

Each of the following {{ len $webringData }} webrings has three links: the previous site in the ring, the webring homepage, and the next site in the ring.

If you’re part of a webring and would like me to join, just ask. I’ll probably accept if joining only requires me to add hyperlinks to this page (no scripts, external content, or images), and if the ring doesn’t seem to promote anything I find objectionable.