1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-23 21:02:09 +00:00
seirdy.one/layouts/partials/webrings.html
Rohan Kumar c0666aa259
Refactor: add webring data from a CSV
The webring list was getting repetitive.
2022-03-15 13:45:21 -07:00

11 lines
380 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>:</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>
{{ end }}