diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-18 19:31:49 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-18 19:31:49 +0100 |
| commit | 1bd65213097cfdac6b3bb0164821299d99d7e351 (patch) | |
| tree | f41a47493ccb21bed2a2084c5303122e3a75de0d /templates | |
| parent | 964ae2b7f03ebfaac051e9c14e142c178ad16cca (diff) | |
feat(tag): better style and navbar to return home
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/page/index.gohtml | 4 | ||||
| -rw-r--r-- | templates/page/legal.gohtml | 2 | ||||
| -rw-r--r-- | templates/page/tags.gohtml | 7 |
3 files changed, 9 insertions, 4 deletions
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml index a3ca7df..f0ebaea 100644 --- a/templates/page/index.gohtml +++ b/templates/page/index.gohtml @@ -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}}
\ No newline at end of file diff --git a/templates/page/legal.gohtml b/templates/page/legal.gohtml index 2769431..6452f5f 100644 --- a/templates/page/legal.gohtml +++ b/templates/page/legal.gohtml @@ -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>. diff --git a/templates/page/tags.gohtml b/templates/page/tags.gohtml index 8a81810..cfa428c 100644 --- a/templates/page/tags.gohtml +++ b/templates/page/tags.gohtml @@ -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 }}"> |
