diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-10 13:03:02 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-04-10 13:03:02 +0300 |
commit | 8e11e56f51c425e3771c297cd44174afb2778281 (patch) | |
tree | 6228147204dc80e0ccba7805781bffdcedc3a853 /README.md | |
parent | bump Bootstrap to 3.4.1 (diff) | |
download | jekyll-theme-8e11e56f51c425e3771c297cd44174afb2778281.tar.gz jekyll-theme-8e11e56f51c425e3771c297cd44174afb2778281.zip |
navbar: rework front matter interface
Diffstat (limited to '')
-rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -59,11 +59,13 @@ Features Hide the navbar by setting either `site.settings.navbar.hide` or `page.navbar.hide` to `true`. -Put a page on the navbar by defining setting `page.navbar_link` to `true` or +Put a page on the navbar by defining setting `page.navbar.link` to `true` or a custom HTML string. -Pages are sorted in the ascending order of `page.navbar_priority`. -If a page on the navbar is paginated, set `page.navbar_paginated` to `true` so +Pages are sorted in the ascending order of `page.navbar.priority`. +If a page on the navbar is paginated, set `page.navbar.paginated` to `true` so that it doesn't appear two or more times. +You can add a glyphicon to the navbar link by settings `page.navbar.icon` to +something like `home`, `envelope`, etc. ### Post feed |