aboutsummaryrefslogtreecommitdiff
path: root/templates/page
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-11 11:43:26 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-11 11:43:26 +0100
commite833d8972522b73950c77b86fe1724bd22751a2a (patch)
treee2d91ab97024c11f287ad5135d9bc88e10b7c1b1 /templates/page
parent3742252bec0d07b1b23de0ebeae1231ff2d91731 (diff)
feat(custom): tags link in header
Diffstat (limited to 'templates/page')
-rw-r--r--templates/page/custom_page.gohtml3
-rw-r--r--templates/page/tags.gohtml2
2 files changed, 3 insertions, 2 deletions
diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml
index 83a4983..4e53d4b 100644
--- a/templates/page/custom_page.gohtml
+++ b/templates/page/custom_page.gohtml
@@ -1,9 +1,10 @@
{{define "body"}}
<main class="custom-page" style="{{ .GetBackground }}">
<div class="header">
- <h2>{{ .Title }}</h2>
+ <h2 class="header__title">{{ .Title }}</h2>
<nav>
<a href="/">Home</a>
+ <a href="/tags">Tags</a>
</nav>
</div>
{{ .GetContent }}
diff --git a/templates/page/tags.gohtml b/templates/page/tags.gohtml
index cfa428c..02d76d6 100644
--- a/templates/page/tags.gohtml
+++ b/templates/page/tags.gohtml
@@ -1,7 +1,7 @@
{{define "body"}}
<main style="{{ .GetBackground }}">
<div class="header">
- <h2>Tags</h2>
+ <h2 class="header__title">Tags</h2>
<nav>
<a href="/">Home</a>
</nav>