aboutsummaryrefslogtreecommitdiff
path: root/templates/base
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-29 16:24:25 +0200
committerWilliam Hergès <william@herges.fr>2025-08-29 16:24:25 +0200
commite2cdf90a4e318a10c443711bf4254410873d2d1d (patch)
treeb62d3e2cd8395375a0671b074991aa13bbbc78b4 /templates/base
parenta4e2949d76442f29ed1af4c8b0b0964ee8196d1e (diff)
feat(base): webring integration
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/base.gohtml11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index fced948..51f53de 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -12,7 +12,7 @@
<style>
.links { {{ .Data.Color.Button.GetBackground }}{{ .Data.Color.Button.GetTextColor }} }
</style>
- {{ else }}
+ {{ else }}
{{ range .Data.RelMeLinks }}
<link rel="me" href="{{ . }}" />
{{ end }}
@@ -22,6 +22,15 @@
<div class="center">
{{template "body" .Data}}
</div>
+ {{ if ne .Data.Rings nil }}
+ <div class="rings">
+ {{ range $ring := .Data.Rings }}
+ <a href="{{ $ring.Link }}" target="_blank" class="ring">
+ <img src="{{ getImage $ring.Image }}" alt="{{ $ring.Name }} logo">
+ </a>
+ {{ end }}
+ </div>
+ {{ end }}
<footer class="credits">
<p>Crafted by <a href="/legal" target="_blank">Anhgelus Morhtuuzh</a></p>
</footer>