diff --git a/README.md b/README.md index 8a4565fa21..aa904e1211 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ $ gem install jekyll Then you can host the site locally with the following command from the root directory of this repository: + ``` $ jekyll serve -w --baseurl '/xapi-project' ``` @@ -57,6 +58,7 @@ You will then be able to view the page at `localhost:4000/xapi-project`. ## A note on images If you are contributing images, consider compressing them to keep this repo as slim as possible: + ``` convert -resize 900 -background white -colors 256 [input.png] [output.png] ``` diff --git a/_layouts/default.html b/_layouts/default.html index 32b6aff946..c90f3d40e2 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -83,6 +83,10 @@

{{page.title}}

$('#menu [data-section="{{page.path}}"]').addClass('active'); + +