From 8e11e56f51c425e3771c297cd44174afb2778281 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 10 Apr 2021 13:03:02 +0300 Subject: navbar: rework front matter interface --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4feec3b..9609954 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3