@if(strpos(url()->current() ?? '', 'tests.tw') !== false)
{{-- 禁止搜尋引擎建立該網頁的索引,請於專案尚未上正式上架前保留這個設定,也請後端工程師把此設定放進後端管理中 --}}
{{-- 禁止 Google 該網頁建立索引,請於專案尚未上正式上架前保留這個設定,也請後端工程師把此設定放進後端管理中 --}}
@endif
{{-- 嵌入iframe影響 --}}
{{-- 網站語系及語言宣告 --}}
{{-- RWD設定 --}}
{{-- 瀏覽器設定 --}}
{{-- 網站標題 --}}
{{ $basic_seo['seo_title'] }}
{{-- 網頁內容描述 --}}
{{-- 網站關鍵字 --}}
{{-- 圖像 --}}
@if (isset($basic_seo['seo_img']) && $basic_seo['seo_img'] != '/noimage.svg')
@endif
{{-- LD Json --}}
@if (isset($basic_seo['seo_structured']) && ($basic_seo['seo_structured'] != "" ))
{!!seo_structured($basic_seo['seo_structured'])!!}
@endif
{{-- Open Graph Protocol for facebook --}}
@php
//避免cookie問題 先移除相關追蹤程式碼
$analysisStatus = false;
@endphp
{{-- Google Tag Manager --}}
@if (isset($basic_seo['seo_ga']) && !empty($basic_seo['seo_ga']) && $analysisStatus)
{{-- --}}
@endif
@if (!empty($basic_seo['seo_gtm']) && $analysisStatus)
@endif
@if(isset($basic_seo['seo_pixel']) && !empty($basic_seo['seo_pixel']) && $analysisStatus)
@endif
{{-- --}}
@yield('script')
{{-- --}}
@yield('css')
{{-- --}}
@yield('css_back')
@yield('canonical')
{{-- --}}
{{ !empty($basic_seo['seo_h1']) ? $basic_seo['seo_h1'] : '' }}
@yield('content')
{{-- 非共用的JS區塊(更後面) --}}
@yield('script_back')