diff --git a/README.md b/README.md index 8f8fb67a9..9d822810e 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,8 @@ redcarpet: - with_toc_data ``` +**Pro tip:** If you're like us and prefer your navigation sticky, you can add `sticky_sidenav: true` on [page](#layout-page), [project](#layout-project), and [team member](#layout-team-member) layouts to have the sidenav follow as you scroll. + ### Color and font configuration The default colors and fonts can be configured in the `_data/theme.yml` file. diff --git a/_layouts/page.html b/_layouts/page.html index 30e14bad4..dabb924ae 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -5,7 +5,7 @@ --- {% assign sidenav = site.data.navigation[page.sidenav] | default: page.sidenav %} {% if sidenav %} -