added blade comments and documentation.

This commit is contained in:
Taylor Otwell
2012-04-10 11:46:55 -05:00
parent 222383c83b
commit 7d5b6b3748
3 changed files with 25 additions and 0 deletions

View File

@@ -118,6 +118,16 @@ Blade makes writing your views pure bliss. To create a blade view, simply name y
...
<?php endif; ?>
<a name="blade-comments"></a>
#### Blade comments:
@if ($check)
{{-- This is a comment --}}
...
@endif
> **Note:** Blade comments, unlike HTML comments, are not visible in the HTML source.
<a name="blade-layouts"></a>
## Blade Layouts