</h4>
<p>{{ $staff['role'] }}</p>
</div>
+ {{--
+ Note: Using JSON-LD format here because it is cleaner and we can customise data
+ (eg. background image would not have worked as an image property). Google also
+ prefers this format. Ref: https://softwareengineering.stackexchange.com/a/328711
+ --}}
+ <script type="application/ld+json">
+ {
+ "@context": "https://schema.org",
+ "@type": "Person",
+ "name": "{{ $staff['name'] }}",
+ "jobTitle": "{{ $staff['role'] }}",
+ "image": "{{ url('/') . $page->getImageURLByCollection($staff['photo']) }}",
+ }
+ </script>
@endforeach
</grid>
</content>