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