{{- $imagePath := "content/me_large.jpg" -}} {{- if .Params.image }}{{ $imagePath = (printf "%s%s%s%s" "content" (.OutputFormats.Get "html").RelPermalink "images/" .Params.image ) }}{{ end -}} {{- $image := resources.Get $imagePath -}} {{- if .IsPage }} {{- if not .PublishDate.IsZero }} {{- else if not .Date.IsZero }} {{- end }} {{- with .Site.Author.facebook }} {{ end }} {{- with .Params.tags }}{{ range . }} {{ end }}{{ end }} {{- end }}