{{- /* Renders the header tile for an item. @params pc The page context. @params sc The site context. */ -}} {{- if ( not ( isset . "sc" ) ) -}} {{- errorf "No site context received" -}} {{- end -}} {{- if ( not ( isset . "pc" ) ) -}} {{- errorf "No page context received (%q)" .sc.Page.File.Dir -}} {{- end -}} {{ with .pc.Params.featured_image }} {{ end }}
{{ . | safeHTML }}
{{ end }}{{- with .Params.attrlink -}}{{- end -}} {{- .Params.attr | safeHTML -}} {{- if .Params.attrlink -}}{{- end -}} {{- if .Params.attrlicence }} ( {{- with .Params.attrlicencelink -}} {{- end -}} {{- .Params.attrlicence -}} {{- if .Params.attrlicencelink -}} {{- end -}} ) {{- end -}}
{{ end }}