@php $templateExternals = $templateExternals ?? []; $resourceHints = \App\Support\TemplateExternals::resourceHints($templateExternals); $headLinks = \App\Support\TemplateExternals::headLinks($templateExternals); $headScripts = \App\Support\TemplateExternals::scriptsForPosition($templateExternals, 'head'); @endphp {{-- 자산 실패 신호 부트스트랩. 아래 externals 는 서버가 HTML 에 직접 심으므로 브라우저가 자산에 도달하지 못해도 자바스크립트에는 아무 신호가 오지 않는다. 실패는 "아이콘이 안 보인다" 로만 나타나고 자체 서버 로그에도 흔적이 남지 않는다. 각 태그의 onerror 가 여기로 들어온다. 엔진 번들보다 먼저 실행되므로 대기열에 쌓아 두고, 엔진이 뜨면 배너로 흘려보낸다. --}} @foreach($resourceHints as $external) @endforeach @foreach($headLinks as $external) @endforeach @foreach($headScripts as $external) @endforeach