diff options
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}} |
