@yield('section_name')
@section('section_name')
content that will always be present
@stop
use this for injecting class names, or single line, space sensitive values
@yield('section_name', 'default_value')
use this with the single line yield statement above
@section('section_name', 'value')
similar to a yield but with default content and allows child overriding
@section('section_name')
default content goes in here
multi lines and all sorts of codez
<style>blabla</style>
@show
using the @parent
keyword
View 1
@section('message')
Hello
@yield('message')
@stop
View 2
@extends('View 1')
@section('message')
@parent
There
@stop