From 94930c5a585e866c4521bffec2344e9beabcf7f0 Mon Sep 17 00:00:00 2001 From: Nicholas Paxford Date: Wed, 16 Sep 2020 19:46:41 +0200 Subject: [PATCH] Update 05-includes.md (#8364) Added two commas (line 19 and 60) --- docs/_docs/step-by-step/05-includes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_docs/step-by-step/05-includes.md b/docs/_docs/step-by-step/05-includes.md index 6513952d..b0b8ca9e 100644 --- a/docs/_docs/step-by-step/05-includes.md +++ b/docs/_docs/step-by-step/05-includes.md @@ -16,7 +16,7 @@ The `include` tag allows you to include content from another file stored in an `_includes` folder. Includes are useful for having a single source for source code that repeats around the site or for improving the readability. -Navigation source code can get complex so sometimes it's nice to move it into an +Navigation source code can get complex, so sometimes it's nice to move it into an include. ## Include usage @@ -57,7 +57,7 @@ in your browser and try switching between the pages. Let's take this a step further and highlight the current page in the navigation. `_includes/navigation.html` needs to know the URL of the page it's inserted into -so it can add styling. Jekyll has useful [variables](/docs/variables/) available +so it can add styling. Jekyll has useful [variables](/docs/variables/) available, one of which is `page.url`. Using `page.url` you can check if each link is the current page and color it red