{{ if .Site.Params.showLatest }}

Latest Post

{{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }}
{{ .Date.Format (.Site.Params.dateForm | default "Jan 02, 2006") }}

{{ .Title }}

{{ .Summary }} {{ if .Truncated }} ...Read More {{ end }}
{{ end }} {{ end }} {{ if .Site.Params.showAllPosts }}

All Posts

{{ else }}
ALL BLOG POSTS
{{ end }}