{{ define "main" }} {{ $titleWrap := .Params.titleWrap }}

{{ .Title }}

{{ .Content }}
{{ with .Params.subtitle }}
{{ . }}
{{ end }}
{{ $pages := (where .Site.RegularPages "Section" "talks") }} {{ if gt (len $pages) 0 }} {{ $paginator := .Paginate ($pages.GroupByPublishDate ($.Param "talksGroupByDate" | default "2006")) ($.Param "talksPaginate") }} {{ range ($paginator).PageGroups }} {{ .Key }} {{ end }} {{ else }} {{ i18n "no-contents" | default "There is nothing to display" }} {{ end }}
{{ partial "pagination/pagination" . }}
{{ partial "search/site-search" . }}
{{ partial "script/archive-script" . }}
{{ end }}