Fix code highlight

This commit is contained in:
kenjis 2015-11-29 19:44:09 +09:00 committed by lubiana
parent 1a17922922
commit 9f084ae86f
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

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: Then in the `FilePageReader` file add this code at the end of your `readBySlug` method:
``` ```php
$path = "$this->pageFolder/$slug.md"; $path = "$this->pageFolder/$slug.md";
if(!file_exists($path)) { 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. 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)