1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

Webrings: add referrers, hotline, and criteria

- Some webrings I might eventually join require sending the origin via
  referrer. Make per-link exceptions to my "no-referrer" policy sent via
  HTTP header.
- Add hotline webring
- Add criteria for me to join a webring.
This commit is contained in:
Rohan Kumar 2022-03-15 13:48:12 -07:00
parent dcbace64a3
commit 4491154cd8
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 22 additions and 7 deletions

View file

@ -3,3 +3,4 @@ An Indieweb Webring,https://xn--sr8hvo.ws/%F0%9F%98%A9%F0%9F%9A%A3%F0%9F%8D%91/p
Fediring,https://fediring.net/previous?host=seirdy.one,https://fediring.net/,https://fediring.net/next?host=seirdy.one
The Yesterweb ring,https://webring.yesterweb.org/noJS/index.php?d=prev&url=https://seirdy.one/,https://yesterweb.org/webring/,https://webring.yesterweb.org/noJS/index.php?d=next&url=https://seirdy.one/
The Retronaut webring,https://webring.dinhe.net/prev/https://seirdy.one,https://webring.dinhe.net/,https://webring.dinhe.net/next/https://seirdy.one
Hotline Webring,https://hotlinewebring.club/seirdy/previous,https://hotlinewebring.club,https://hotlinewebring.club/seirdy/next

1 name prev home next
3 Fediring https://fediring.net/previous?host=seirdy.one https://fediring.net/ https://fediring.net/next?host=seirdy.one
4 The Yesterweb ring https://webring.yesterweb.org/noJS/index.php?d=prev&url=https://seirdy.one/ https://yesterweb.org/webring/ https://webring.yesterweb.org/noJS/index.php?d=next&url=https://seirdy.one/
5 The Retronaut webring https://webring.dinhe.net/prev/https://seirdy.one https://webring.dinhe.net/ https://webring.dinhe.net/next/https://seirdy.one
6 Hotline Webring https://hotlinewebring.club/seirdy/previous https://hotlinewebring.club https://hotlinewebring.club/seirdy/next

View file

@ -1,11 +1,25 @@
<h2 id="part-of">Webrings</h2>
<p>This site is part of some <a href="https://en.wikipedia.org/wiki/Webring">webrings</a>:</p>
<p>This site is part of some <a href="https://en.wikipedia.org/wiki/Webring">webrings</a>:{{site.BaseURL}}</p>
{{ range $i, $r := after 1 (getCSV "," "/csv/webrings.csv") }}
<p>
<a href="{{- index $r 1 -}}" rel="nofollow ugc"></a> ·
<a href="{{- index $r 2 -}}">{{- index $r 0 -}}</a> ·
<a href="{{- index $r 3 -}}" rel="nofollow ugc"></a>
</p>
<!--
Some webrings require the sending of a "Referer" header,
but my site has two non-canonical mirrors. Don't add those.
-->
{{ $refPol := "no-referrer" }}
{{ if eq site.BaseURL "https://seirdy.one/" }}
{{ $refPol = "strict-origin" }}
{{ end }}
<ul class="unstyled-list">
{{ range $i, $r := after 1 (getCSV "," "/csv/webrings.csv") }}
<li>
<p>
<a href="{{- index $r 1 -}}" rel="nofollow ugc" referrerpolicy="{{ $refPol }}"></a> ·
<a href="{{- index $r 2 -}}">{{- index $r 0 -}}</a> ·
<a href="{{- index $r 3 -}}" rel="nofollow ugc" referrerpolicy="{{ $refPol }}"></a>
</p>
</li>
{{ end }}
</ul>
<p>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.</p>