{{ define "main" }}
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} {{ partial "breadcrumbs.html" . }} {{ end }}

{{ .Title }}

{{ if .Content }}
{{ .Content | emojify }}
{{ end }}
{{ if .Data.Pages }} {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}

{{ .Key }}


{{ end }} {{ range .Pages }} {{ partial "article-link.html" . }} {{ end }} {{ end }} {{ end }}
{{ partial "pagination.html" . }} {{ end }}