From 518e8687eb529cd8709cd9f0d55e9246694278e9 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sun, 29 Nov 2015 19:44:09 +0900 Subject: [PATCH] Fix code highlight --- 10-dynamic-pages.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/10-dynamic-pages.md b/10-dynamic-pages.md index 8565eb7..e2171e8 100644 --- a/10-dynamic-pages.md +++ b/10-dynamic-pages.md @@ -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) \ No newline at end of file +[<< previous](09-templating.md) | [next >>](11-page-menu.md)