@section
レイアウトで区画を定義する。セクション名に指定した名前でセクションを用意する。
@section ( セクション名, 内容 )
@section ( セクション名 )
@parent // 親のsectionをはめ込む場合(残す場合)
@endsection (or @show // ベースレイアウトの場合)
@yield
セクションの内容をはめ込んて表示する。
@yield ( セクション名 )
レイアウトで区画を定義する。セクション名に指定した名前でセクションを用意する。
@section ( セクション名, 内容 )
@section ( セクション名 )
@parent // 親のsectionをはめ込む場合(残す場合)
@endsection (or @show // ベースレイアウトの場合)
セクションの内容をはめ込んて表示する。
@yield ( セクション名 )