diff --git a/templates.md b/templates.md index 70277bf0bdf..dff23c282f7 100644 --- a/templates.md +++ b/templates.md @@ -68,7 +68,7 @@ Note that views which `extend` a Blade layout simply override sections from the Sometimes, such as when you are not sure if a section has been defined, you may wish to pass a default value to the `@yield` directive. You may pass the default value as the second argument: - @yield('section', 'Default Content'); + @yield('section', 'Default Content') ## Other Blade Control Structures @@ -161,7 +161,7 @@ To overwrite a section entirely, you may use the `overwrite` statement: @lang('language.line') - @choice('language.line', 1); + @choice('language.line', 1) #### Comments