1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/layouts/partials/webrings.html
Rohan Kumar 4491154cd8
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.
2022-03-15 13:48:12 -07:00

25 lines
1,018 B
HTML

<h2 id="part-of">Webrings</h2>
<p>This site is part of some <a href="https://en.wikipedia.org/wiki/Webring">webrings</a>:{{site.BaseURL}}</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>