{{ define "blog-list" }}
{{ .Content }}
{{ partial "pagination.html" . }}
{{ range .Paginator.Pages }}
.Title

{{ if gt (len .Title) 40 }} {{ $first50 := ( substr .Title 0 40 ) }} {{ $lastChars := ( substr .Title 40 ) }} {{ $newLine := "
" }} {{ $newTitle := ( printf "%s" $lastChars | printf "%s%s" $newLine | printf "%s%s" $first50 ) }} {{ $newTitle | safeHTML }} {{ else }} {{ .Title }} {{ end }}

{{ .Params.excerpt }}

{{ end }}
{{ partial "pagination.html" . }}
{{ end }}