feat(custom): config and generation
This commit is contained in:
parent
730ec34758
commit
279f73187b
4 changed files with 111 additions and 7 deletions
8
templates/page/custom_page.gohtml
Normal file
8
templates/page/custom_page.gohtml
Normal file
|
@ -0,0 +1,8 @@
|
|||
{{define "body"}}
|
||||
<main class="custom-page" style="{{ .GetBackground }}">
|
||||
<h2>{{ .Title }}</h2>
|
||||
{{ range $content := .Content }}
|
||||
{{ .Get }}
|
||||
{{ end }}
|
||||
</main>
|
||||
{{end}}
|
Loading…
Add table
Add a link
Reference in a new issue