Merge pull request #40 from kenjis/patch-1

Fix code highlight
This commit is contained in:
Patrick Louys 2015-11-30 08:51:31 +01:00
commit 8a45826033

View file

@ -179,7 +179,7 @@ class InvalidPageException extends Exception
Then in the `FilePageReader` file add this code at the end of your `readBySlug` method:
```
```php
$path = "$this->pageFolder/$slug.md";
if(!file_exists($path)) {
@ -223,4 +223,4 @@ Try a few different URLs to check that everything is working as it should. If so
And as always, don't forget to commit your changes.
[<< previous](09-templating.md) | [next >>](11-page-menu.md)
[<< previous](09-templating.md) | [next >>](11-page-menu.md)