From 331d3f3ffe01220abc350776136edd52ef5b1d8f Mon Sep 17 00:00:00 2001 From: Gareth Mcshane Date: Mon, 24 Feb 2020 21:43:26 +1100 Subject: [PATCH] remove leading slash from Sass file location (#8021) Merge pull request 8021 --- docs/_docs/step-by-step/07-assets.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/_docs/step-by-step/07-assets.md b/docs/_docs/step-by-step/07-assets.md index 18c0873d..eb1534b7 100644 --- a/docs/_docs/step-by-step/07-assets.md +++ b/docs/_docs/step-by-step/07-assets.md @@ -36,7 +36,7 @@ You could use a standard CSS file for styling, we're going to take it a step further by using [Sass](https://sass-lang.com/). Sass is a fantastic extension to CSS baked right into Jekyll. -First create a Sass file at `/assets/css/styles.scss` with the following content: +First create a Sass file at `assets/css/styles.scss` with the following content: ```sass --- @@ -51,7 +51,7 @@ directory (`_sass/` by default which is directly under root folder of your websi At this stage you'll just have a main css file. For larger projects, this is a great way to keep your CSS organized. -Create a Sass file at `/_sass/main.scss` with the following content: +Create a Sass file at `_sass/main.scss` with the following content: ```sass .current { @@ -70,7 +70,7 @@ Open `_layouts/default.html` and add the stylesheet to the ``: {{ page.title }} - + {% include navigation.html %} @@ -80,7 +80,7 @@ Open `_layouts/default.html` and add the stylesheet to the ``: ``` {% endraw %} -The `styles.css` referenced here is generated by Jekyll from the `styles.scss` you created earlier in `/assets/css/`. +The `styles.css` referenced here is generated by Jekyll from the `styles.scss` you created earlier in `assets/css/`. Load up http://localhost:4000 and check the active link in the navigation is green.