feat(tag): better style and navbar to return home
This commit is contained in:
parent
964ae2b7f0
commit
1bd6521309
6 changed files with 27 additions and 10 deletions
|
@ -12,7 +12,7 @@
|
|||
<p class="description">
|
||||
{{ .Description }}
|
||||
</p>
|
||||
<div class="links" style="{{ .Color.Button.GetBackground }}{{ .Color.Button.GetTextColor }}">
|
||||
<nav class="links" style="{{ .Color.Button.GetBackground }}{{ .Color.Button.GetTextColor }}">
|
||||
{{ range $link := .Links }}
|
||||
<div class="link">
|
||||
<a href="{{ .Link }}">{{ .Content }}</a>
|
||||
|
@ -21,6 +21,6 @@
|
|||
<div class="link">
|
||||
<a href="/tags">Tags</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</main>
|
||||
{{end}}
|
|
@ -2,7 +2,7 @@
|
|||
<div class="credits-legal">
|
||||
<h2>Legal information</h2>
|
||||
<p>
|
||||
Legal information are available <a href="{{ .Legal.LegalInformationLink }}" target="_blank">here</a>.
|
||||
Other legal information are available <a href="{{ .Legal.LegalInformationLink }}" target="_blank">here</a>.
|
||||
</p>
|
||||
<p>
|
||||
The software behind this website was made by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a>.
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{{define "body"}}
|
||||
<main style="{{ .GetBackground }}">
|
||||
<h2>Tags</h2>
|
||||
<div class="header">
|
||||
<h2>Tags</h2>
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="tags" style="{{ .Color.GetTagColor }}">
|
||||
{{ range $tag := .Person.Tags }}
|
||||
<div class="tag" data-href="{{ .Link }}" title="{{ .Link }}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue