mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Use nested <details> for webrings
This commit is contained in:
parent
404d7d8561
commit
b88be14eca
1 changed files with 24 additions and 21 deletions
|
@ -8,8 +8,10 @@
|
||||||
<h2 id="webrings">Webrings</h2>
|
<h2 id="webrings">Webrings</h2>
|
||||||
{{ $webringData := after 1 (getCSV "," "/csv/webrings.csv") -}}
|
{{ $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>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>
|
||||||
<ol>
|
<details>
|
||||||
{{- range $i, $r := $webringData }}
|
<summary>Toggle webrings list</summary>
|
||||||
|
<ol>
|
||||||
|
{{- range $i, $r := $webringData }}
|
||||||
{{- $webringName := index $r 0 }}
|
{{- $webringName := index $r 0 }}
|
||||||
<li>
|
<li>
|
||||||
<details>
|
<details>
|
||||||
|
@ -27,6 +29,7 @@
|
||||||
</ol>
|
</ol>
|
||||||
</details>
|
</details>
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</ol>
|
</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>
|
<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>
|
||||||
|
|
Loading…
Reference in a new issue