summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-17 11:50:31 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-17 11:50:31 -0300
commitda14e863cd56656ca0b7c9e9f5f8f6b21a43b574 (patch)
tree68fc0bcb11aed65935bd89743aae2480021d843d /layouts
parent500d4678d6022e91ef736749dc26dfdad49f1fe8 (diff)
Added webrings to the main page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/webring.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/shortcodes/webring.html b/layouts/shortcodes/webring.html
new file mode 100644
index 0000000..47aa530
--- /dev/null
+++ b/layouts/shortcodes/webring.html
@@ -0,0 +1,10 @@
+<aside>
+ <p>Webrings! Like the 90s!</p>
+ {{- range $index, $key := .Site.Params.Webring -}}
+ <p>
+ <a href="{{ $key.prevUrl }}">&lt;-</a>
+ <a href="{{ $key.url }}">{{ $key.name }}</a>
+ <a href="{{ $key.nextUrl }}">-&gt;</a>
+ </p>
+ {{- end -}}
+</aside>