aboutsummaryrefslogtreecommitdiff
path: root/templates/page/custom_page.gohtml
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:19:41 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:19:41 +0100
commit9b6819f25fc860ea1c2dc84b61b7576b73aaa78c (patch)
tree185434a7850644ed8397ebff319d9231bbc4bf43 /templates/page/custom_page.gohtml
parente379601ec1f1ca70f955f7ea9dd07775fb4da93b (diff)
feat(custom): better style and navbar
Diffstat (limited to 'templates/page/custom_page.gohtml')
-rw-r--r--templates/page/custom_page.gohtml7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml
index 15bd0e9..4cb8078 100644
--- a/templates/page/custom_page.gohtml
+++ b/templates/page/custom_page.gohtml
@@ -1,6 +1,11 @@
{{define "body"}}
<main class="custom-page" style="{{ .GetBackground }}">
- <h2>{{ .Title }}</h2>
+ <div class="header">
+ <h2>{{ .Title }}</h2>
+ <nav>
+ <a href="/">Home</a>
+ </nav>
+ </div>
{{ range $content := .Content }}
{{ .Get }}
{{ end }}