{{ define "main" }}

{{ .Site.Title}}

{{ .Site.Params.Description }}

{{ .Content }}
{{ $recentposts := 5 }} {{ if .Params.recentposts }} {{ $recentposts = .Params.recentposts }} {{ end }}

Recent posts

{{ range first $recentposts (where .Site.RegularPages "Section" "==" "posts") }}

{{ .Title | markdownify}}

{{ if .Params.Subtitle }}

{{ .Params.Subtitle | markdownify }}

{{ end }}

Published {{ .Date.Format "January 2, 2006" }} {{ range .Params.tags }} #{{ . }} {{ end }}

{{ .Summary }}

Reading time: about {{ .ReadingTime }} minutes

Read more...

{{ end }}
{{ end }}