mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-25 02:02:11 +00:00
1aed7a66d4
The site now has polygot markup and can handle both XHTML5 and HTML5 parsing rules. My staging site will be XHTML but my main site will be HTML5, just in case of parse errors. If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider switching the content-type to XHTML.
36 lines
1.6 KiB
HTML
36 lines
1.6 KiB
HTML
<!--
|
||
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 -}}
|
||
<h2 id="webrings">Webrings</h2>
|
||
{{ $webringData := after 1 (getCSV "," "/csv/webrings.csv") -}}
|
||
<p>This site is part of {{ len $webringData }} <a href="https://en.wikipedia.org/wiki/Webring">webrings</a>. 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.</p>
|
||
<p>Some of the “next” and “previous” links contain JavaScript; you need to enable it to be re-directed to the correct page. I’ve marked these links with “JS”.</p>
|
||
<details>
|
||
<summary>Toggle webrings list</summary>
|
||
<ol>
|
||
{{- range $i, $r := $webringData }}
|
||
{{- $webringName := index $r 0 }}
|
||
<li>
|
||
<details>
|
||
<summary>{{- $webringName -}}</summary>
|
||
<ol>
|
||
<li>
|
||
<a href="{{- index $r 2 -}}">{{- $webringName }} webring home</a>
|
||
</li>
|
||
<li>
|
||
<a href="{{- index $r 1 -}}" rel="nofollow ugc" referrerpolicy="{{ $refPol }}">Previous {{ $webringName }} site</a>
|
||
</li>
|
||
<li>
|
||
<a href="{{- index $r 3 -}}" rel="nofollow ugc" referrerpolicy="{{ $refPol }}">Next {{ $webringName }} site</a>
|
||
</li>
|
||
</ol>
|
||
</details>
|
||
</li>
|
||
{{- end -}}
|
||
</ol>
|
||
</details>
|
||
<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>
|