{{/* If a special summary (before ToC) have been defined,
prefer using it because it has more chances to be a better summary */}}
{{ if (isset .Params "summary" )}}
{{ .Params.summary }}
{{ else }}
{{ .Content | plainify | safeHTML | truncate 300 "..." }}
{{ end }}