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