aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page/custom_page.gohtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml
new file mode 100644
index 0000000..83a4983
--- /dev/null
+++ b/templates/page/custom_page.gohtml
@@ -0,0 +1,11 @@
+{{define "body"}}
+ <main class="custom-page" style="{{ .GetBackground }}">
+ <div class="header">
+ <h2>{{ .Title }}</h2>
+ <nav>
+ <a href="/">Home</a>
+ </nav>
+ </div>
+ {{ .GetContent }}
+ </main>
+{{end}}