{{define "page"}}

{{.Props.Title}}

{{.Props.Content}}

{{end}} {{define "index"}}

Listing {{.Props.Pager.CurrPage.Index}} of {{len .Props.Pager.AllPages}}

{{range .Props.Pager.CurrPage.Items}}

  • {{.Props.Title}}
  • {{end}}

    [ {{if .Props.Pager.CurrPage.Prev}} Prev {{else}} Prev {{end}} | {{if .Props.Pager.CurrPage.Next}} Next {{else}} Next {{end}} ]

    {{end}}