{{ define "main" }}
{{ partial "sidebar.html" (dict "context" . "disableSidebar" true "displayPlaceholder" true) }}
{{ .Content }}
{{- $pages := where .Site.RegularPages "Section" "blog" }} {{- $pages = $pages.ByDate.Reverse }} {{- $recent := first 6 $pages }} {{- $readMore := (T "readMore") | default "Read more →" }}
{{- range $recent }}

{{ .Title }}

{{- if site.Params.blog.list.displayTags }}
{{ partial "tags.html" (dict "context" .) }}
{{- end }}

{{- partial "utils/page-description" . -}}

{{ partial "utils/format-date" .Date }}

{{- end }} {{- if gt (len $pages) 6 }}

{{ $readMore }}

{{- end }}
{{ end }}