{{- $summary := .Summary | truncate 160 }} {{- with .Params.description }} {{- $summary = (. | truncate 160) }} {{- end }} {{- $site := .Site.Title }} {{- $title := .Title }} {{- $params := .Site.Params }} {{- $permalink := .Permalink }} {{- $logo := absURL (printf "images/%s" $params.logo) }} {{- $image := absURL (printf "images/%s" $params.image) }} {{- $author := $params.author }} {{- with .Params.author }} {{ $author := . }} {{- end }} {{- with .Params.image }} {{- $image = absURL (printf "images/%s" .) }} {{- end }} {{- if .IsHome }} {{- else }} {{- end }} {{- if eq .Section "blog" -}} {{- $date := ( .Date.Format "2006-02-01") -}} {{- $date := (time .Date) }} {{- $lastMod := (time .Lastmod) }} {{- end }}