{{- if $renderedtitle }}
{{- end }}
{{- if .image }}
{{- if .hrefattributes }}
{{- else if .href }}
{{- end }}
{{ $renderedtitle | safeHTML }}
{{- if or .hrefattributes .href }}
{{- end }}
{{- end }}
{{- with .content }}
{{ $renderedcontent | safeHTML }}
{{- end }}
{{- if and (not $renderedtitle) .hrefattributes }}
{{- else if and (not $renderedtitle) .href }}
{{- end }}
{{- if and (not $renderedtitle) (or .hrefattributes .href) }}
{{- end }}
{{- end }}