{{- if .Description -}} {{- else if .Params.description -}} {{- else -}} {{- if .IsPage -}} {{- end -}} {{- end -}} {{- if .Params.image -}} {{- else if .Site.Params.og -}} {{- else -}} {{- end -}} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} {{- if .IsPage -}} {{- if not .PublishDate.IsZero -}} {{- else if not .Date.IsZero -}} {{- end -}} {{- if not .Lastmod.IsZero -}} {{- end -}} {{- else -}} {{- if not .Date.IsZero -}} {{- end -}} {{- end -}}