@php $templateExternals = $templateExternals ?? []; $resourceHints = \App\Support\TemplateExternals::resourceHints($templateExternals); $headLinks = \App\Support\TemplateExternals::headLinks($templateExternals); $headScripts = \App\Support\TemplateExternals::scriptsForPosition($templateExternals, 'head'); @endphp @foreach($resourceHints as $external) @endforeach @foreach($headLinks as $external) @endforeach @foreach($headScripts as $external) @endforeach