{{ define "main"}}
{{ range .Pages.ByWeight }}

{{ .Title }}

{{ .Content }}

{{ if isset .Params "button"}} {{ if .Params.button }} {{.Params.buttonText}} {{end }} {{end}}
{{ end }}
{{ end }}