Skip to content

Commit

Permalink
Merge pull request thephpleague#235 from sudo-barun/fix-doc
Browse files Browse the repository at this point in the history
fix example of stacked layout
  • Loading branch information
ragboyjr committed Dec 23, 2020
2 parents 1b29776 + 856be63 commit 5f84d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/templates/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Plates allows stacking of layouts, allowing even further simplification and orga

<div class="filename">blog.php</div>
~~~ php
<?php $this->layout('template') ?>
<?php $this->layout('template', ['title' => $title]) ?>

<h1>The Blog</h1>

Expand Down

0 comments on commit 5f84d1f

Please sign in to comment.