Skip to content

Commit

Permalink
Fixed typo on template overview page. (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinink committed Oct 14, 2014
1 parent 5b49de3 commit d53db1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $templates = new League\Plates\Engine('/path/to/templates');
$template = new League\Plates\Template\Template($templates, 'profile');

// Render the template
echo template->render(['name' => 'Jonathan']);
echo $template->render(['name' => 'Jonathan']);
~~~

## Check if a template exists
Expand Down Expand Up @@ -64,4 +64,4 @@ You can also get the path from an existing template:

~~~ php
$path = $template->path();
~~~
~~~

0 comments on commit d53db1e

Please sign in to comment.