{{- /* Displays comments for an item @params pc Page context @params sc 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 -}}

Comments