feat(tag): better link to page

This commit is contained in:
Anhgelus Morhtuuzh 2024-11-13 10:30:45 +01:00
parent dd8495d596
commit c8ea8d4cd3
No known key found for this signature in database
GPG key ID: CAD341EFA92DDDE5
2 changed files with 8 additions and 5 deletions

View file

@ -11,14 +11,16 @@
</div>
<p class="description">
{{ .Description }}
<a href="/tags">More information...</a>
</p>
<div class="links">
{{ range $link := .Links }}
<div class="link" style="{{ .GetBackground }}">
<a href="{{ .Link }}" style="{{ .GetLinkColor }}">{{ .Content }}</a>
</div>
{{end}}
{{ end }}
<div class="link" style="--background: #000;--background-hover: #333;">
<a href="/tags" style="--text-color: #ddd;--text-color-hover: #fff;">Tags</a>
</div>
</div>
</main>
{{end}}