aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:00:56 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2024-12-10 19:00:56 +0100
commit279f73187b9de250de3b1788d1ce543c60832bc6 (patch)
tree9302f892044a9b7706d72f7aeade8daef083a473 /templates
parent730ec347582289efbc0cd1c48e4c243d4c4920d6 (diff)
feat(custom): config and generation
Diffstat (limited to 'templates')
-rw-r--r--templates/page/custom_page.gohtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/page/custom_page.gohtml b/templates/page/custom_page.gohtml
new file mode 100644
index 0000000..15bd0e9
--- /dev/null
+++ b/templates/page/custom_page.gohtml
@@ -0,0 +1,8 @@
+{{define "body"}}
+ <main class="custom-page" style="{{ .GetBackground }}">
+ <h2>{{ .Title }}</h2>
+ {{ range $content := .Content }}
+ {{ .Get }}
+ {{ end }}
+ </main>
+{{end}}