diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/webring.html | 10 |
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 }}"><-</a> + <a href="{{ $key.url }}">{{ $key.name }}</a> + <a href="{{ $key.nextUrl }}">-></a> + </p> + {{- end -}} +</aside> |