From 9bf17b2c40471dc6c61b813b13328753d7393622 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Tue, 28 Apr 2020 20:09:00 +0000 Subject: [PATCH] add option nav-short to have navbar permanently collapsed --- CHANGELOG.md | 2 ++ README.md | 1 + _includes/nav.html | 2 +- assets/css/main.css | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68857b8..68c8c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ This file lists all non-trivial changes to Beautiful Jekyll. I often make small changes to documentation, to the demo site, or to the general look-and-feel. These and other minor changes will not be listed here. +**2020-04-28** Add YAML option `nav-short` to have navbar permanently collapsed + **2020-04-28** Add social network link: Calendly **2020-04-28** Fix bug where RSS link in footer was showing even when turned off diff --git a/README.md b/README.md index 109c3f8..91a61ff 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ image | If you want to add a personalized image to your blog post that wil readtime | If you want to show how many minutes it will take to read a post in the header, add `readtime: true`. share-img | If you want to specify an image to use when sharing the page on Facebook or Twitter, then provide the image's full URL here. social-share | If you don't want to show buttons to share a blog post on social media, use `social-share: false` (this feature is turned on by default). +nav-short | By default, the navigation bar gets shorter after scrolling down the page. If you want the navigation bar to always be short on a certain page, use `nav-short: true` use-site-title | If you want to use the site title rather than page title as HTML document title (ie. browser tab title), use `use-site-title: true`. When set, the document title will take the format `Site Title - Site Description` (eg. `My website - A virtual proof that name is awesome!`). By default, it will use `Page Title` if it exists, or `Site Title` otherwise. language | HTML language code to be set on <html> element (see [W3Schools website](https://www.w3schools.com/tags/ref_language_codes.asp) for more info on this topic). Language can also be set site-wide in `_config.yml`. layout | What type of page this is (default is `post` for blog posts and `page` for other pages). See _Page types_ section below for more information. diff --git a/_includes/nav.html b/_includes/nav.html index 264756e..6865b2f 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,4 +1,4 @@ -