From 47e2cc3f0320c807f37a0ec36fb5c2066abe96f5 Mon Sep 17 00:00:00 2001 From: AlexVonB Date: Sat, 7 Feb 2015 02:49:47 +0100 Subject: [PATCH] Escape '@parent' correctly --- templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.md b/templates.md index 22bbd30d5a..5821185df5 100644 --- a/templates.md +++ b/templates.md @@ -39,7 +39,7 @@ Blade is a simple, yet powerful templating engine provided with Laravel. Unlike

This is my body content.

@stop -Note that views which `extend` a Blade layout simply override sections from the layout. Content of the layout can be included in a child view using the `@parent` directive in a section, allowing you to append to the contents of a layout section such as a sidebar or footer. +Note that views which `extend` a Blade layout simply override sections from the layout. Content of the layout can be included in a child view using the `@@parent` directive in a section, allowing you to append to the contents of a layout section such as a sidebar or footer. 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: