{{i18n `recommended`}}

{{ $related := (where site.RegularPages "Section" "articles") | intersect (where site.Pages ".Title" "!=" .Title) | union (site.RegularPages.Related . ) }} {{ range $i, $e:= last 5 $related }} {{ if eq $i 0}}
{{ if .Params.image }} {{ if fileExists (add `assets/` .Params.image) }} {{$img:= resources.Get (.Params.image) }} {{$img:= $img.Fill "420x280 webp"}} Post Thumbnail {{ else }} {{.Title | title}} {{ end }} {{ else }} {{.Title | title}} {{ end }}
{{ else }} {{ if .Params.image }} {{ if fileExists (add `assets/` .Params.image) }} {{$img:= resources.Get (.Params.image) }} {{$img:= $img.Fill "80x80 webp"}} Post Thumbnail {{ else }} {{.Title | title}} {{ end }} {{ else }} {{.Title | title}} {{ end }}

{{.Title}}

{{.Plain | markdownify | truncate 50}}

{{ end }} {{ end }}