aboutsummaryrefslogtreecommitdiff
path: root/templates/page
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-14 14:58:05 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-14 14:58:05 +0100
commitfce56f5088e27c0865d3a2d03936039e1a21059a (patch)
treef96f915d21a15a5f6accec7bc0459a06c0aa2025 /templates/page
parent83a7fc5cf8eda929eef75305ec8435ecd228d2f4 (diff)
feat(style): harmonize button color
Diffstat (limited to 'templates/page')
-rw-r--r--templates/page/index.gohtml10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
index dee6782..a3ca7df 100644
--- a/templates/page/index.gohtml
+++ b/templates/page/index.gohtml
@@ -12,14 +12,14 @@
<p class="description">
{{ .Description }}
</p>
- <div class="links">
+ <div class="links" style="{{ .Color.Button.GetBackground }}{{ .Color.Button.GetTextColor }}">
{{ range $link := .Links }}
- <div class="link" style="{{ .GetBackground }}">
- <a href="{{ .Link }}" style="{{ .GetLinkColor }}">{{ .Content }}</a>
+ <div class="link">
+ <a href="{{ .Link }}">{{ .Content }}</a>
</div>
{{ end }}
- <div class="link" style="{{ .Color.Button.GetBackground }}">
- <a href="/tags" style="{{ .Color.Button.GetTextColor }}">Tags</a>
+ <div class="link">
+ <a href="/tags">Tags</a>
</div>
</div>
</main>