{{ define "body" }} {{ $page := .GetQueryIntValue "page" 0 -}} {{ $getPostsRes := .GetDraftPosts $page 20 -}}

Back to Admin

Drafts

New Draft

{{ if gt $page 0 }}

< < Previous Page

{{ end }} {{ range $getPostsRes.Posts }} {{ end }}
{{ .Title }} Edit
{{ if $getPostsRes.HasMore }}

Next Page > >

{{ end }} {{ end }} {{ template "base.html" . }}