aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 51f53de..994e06a 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -22,9 +22,10 @@
<div class="center">
{{template "body" .Data}}
</div>
- {{ if ne .Data.Rings nil }}
+ {{ $rings := getRings }}
+ {{ if ne $rings nil }}
<div class="rings">
- {{ range $ring := .Data.Rings }}
+ {{ range $ring := $rings }}
<a href="{{ $ring.Link }}" target="_blank" class="ring">
<img src="{{ getImage $ring.Image }}" alt="{{ $ring.Name }} logo">
</a>