{{- $title := partial "data/title" . .RelPermalink -}} {{- $description := partial "data/description" . .RelPermalink -}} {{- if .Site.Params.opengraph.image -}} {{- $image := partial "data/image" . .RelPermalink -}} {{- with $image.Permalink -}}{{- end -}} {{- with $image.Width -}}{{- end -}} {{- with $image.Height -}}{{- end -}} {{- end -}} {{- if .IsPage -}} {{- if not .Date.IsZero -}} {{- end -}} {{- if not .Lastmod.IsZero -}} {{- end -}} {{- else -}} {{- if not .Site.LastChange.IsZero -}} {{- end -}} {{- end -}}