aboutsummaryrefslogtreecommitdiff
path: root/templates/page
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 23:37:10 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-09 23:37:10 +0100
commit5b98185aa6149660be9fd278f48515690d19307a (patch)
tree9f37fa2d373b5537bed95d1397c1f8b663f71368 /templates/page
parent0b90249205425abc6166d3b4fdffbf5990020355 (diff)
feat(link): custom links
Diffstat (limited to 'templates/page')
-rw-r--r--templates/page/index.gohtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
index 6aaa742..e39c8f4 100644
--- a/templates/page/index.gohtml
+++ b/templates/page/index.gohtml
@@ -11,9 +11,9 @@
</div>
<p class="description">{{ .Description }}</p>
<div class="links">
- <div class="link"><a href="">Link 1</a></div>
- <div class="link"><a href="">Link 2</a></div>
- <div class="link"><a href="">Link 3</a></div>
+ {{ range $link := .Links }}
+ <div class="link" style="{{ $link.GetBackground }}"><a href="{{ $link.Link }}">{{ $link.Content }}</a></div>
+ {{end}}
</div>
</main>
{{end}} \ No newline at end of file