{{- $imagePath := "" }} {{- with .Params.image }} {{- $imagePath = (path.Join "content" $.File.Dir "images/" .) }} {{- else }} {{- $imagePath = (path.Join "content" $.Site.Params.defaultimage) }} {{- end }} {{- with (imageConfig $imagePath) }} {{- end }} {{- if and .IsPage (eq .Type "notes") }} {{- if not .PublishDate.IsZero }} {{- else if not .Date.IsZero }} {{- end }} {{- with .Site.Author.facebook }} {{ end }} {{- with .Params.tags }}{{ range . }} {{ end }}{{ end }} {{- end }} {{ with .Site.Author.facebookid }}{{ end }} {{ with .Site.Params.facebookappid }}{{ end }} {{- with .Site.Author.twitter }} {{- end }} {{ with .Site.Author.twitterid }}{{ end }}