aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base/base.gohtml2
-rw-r--r--templates/page/index.gohtml8
2 files changed, 8 insertions, 2 deletions
diff --git a/templates/base/base.gohtml b/templates/base/base.gohtml
index 634459c..9d97934 100644
--- a/templates/base/base.gohtml
+++ b/templates/base/base.gohtml
@@ -15,8 +15,6 @@
</div>
<footer class="credits">
<p>Crafted by <a href="https://www.anhgelus.world/" target="_blank">Anhgelus Morhtuuzh</a></p>
- <p><a href="{{ .Data.Legal.LegalInformationLink }}">Legal information</a></p>
- <p><a href="/credits">Credits</a></p>
</footer>
<script type="module" src="{{getAssetPath "index.js"}}" defer></script>
</body>
diff --git a/templates/page/index.gohtml b/templates/page/index.gohtml
index dee6782..b5f964f 100644
--- a/templates/page/index.gohtml
+++ b/templates/page/index.gohtml
@@ -19,8 +19,16 @@
</div>
{{ end }}
<div class="link" style="{{ .Color.Button.GetBackground }}">
+ <a href="{{ .Legal.LegalInformationLink }}" target="_blank" style="{{ .Color.Button.GetTextColor }}">
+ Legal information
+ </a>
+ </div>
+ <div class="link" style="{{ .Color.Button.GetBackground }}">
<a href="/tags" style="{{ .Color.Button.GetTextColor }}">Tags</a>
</div>
+ <div class="link" style="{{ .Color.Button.GetBackground }}">
+ <a href="/credits" style="{{ .Color.Button.GetTextColor }}">Credits</a>
+ </div>
</div>
</main>
{{end}} \ No newline at end of file