diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2024-12-10 19:00:56 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2024-12-10 19:00:56 +0100 |
| commit | 279f73187b9de250de3b1788d1ce543c60832bc6 (patch) | |
| tree | 9302f892044a9b7706d72f7aeade8daef083a473 /templates/page/custom_page.gohtml | |
| parent | 730ec347582289efbc0cd1c48e4c243d4c4920d6 (diff) | |
feat(custom): config and generation
Diffstat (limited to 'templates/page/custom_page.gohtml')
| -rw-r--r-- | templates/page/custom_page.gohtml | 8 |
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}} |
