{{- /* Renders a post's locations on a map. @params pc Page context. @params locations_data Site data of locations. @params locations Post locations. */ -}} {{- if ( not ( isset . "pc" ) ) -}} {{- errorf "No page context passed" -}} {{- end -}} {{- if ( not ( isset . "locations_data" ) ) -}} {{- errorf "No location site data defined" -}} {{- end -}} {{- if ( not ( isset . "locations" ) ) -}} {{- errorf "No post locations defined" -}} {{- end -}}