aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/navbar.html (unfollow)
Commit message (Collapse)Author
2021-04-10navbar: rework front matter interfaceEgor Tensin
2021-04-09navbar: describe the workaroundsEgor Tensin
2021-04-09navbar: simpler & more robustEgor Tensin
2021-04-09put theme settings under site.settingsEgor Tensin
2021-04-08use relative_url instead of site.baseurlEgor Tensin
2019-09-30fix navbar orderingEgor Tensin
2017-06-25fix navbar links with multiple pagesEgor Tensin
I determine whether a page should be present in the navigation bar by checking if 'navbar' is present in this page's `groups`. My index.html is an example of such page. But `jekyll-paginate` creates a bunch of similar pages, each of them having 'navbar' in their `groups`. Thus, every /pageN appears in the navbar. To get rid of all of them except for the first one, I set `root_page` to `true` in index.html, and only include the first page with `root_page == true` in the navbar. Man, it's a hack if I've ever seen one.
2016-11-30<nav>: role="navigation"Egor Tensin
2016-06-25move common assets to common/, more info to configEgor Tensin
2016-06-21put most of my personal info to _config.ymlEgor Tensin
2016-03-07'group' to 'groups' in the front matterEgor Tensin
2016-03-07_includes: merge links.html to navbar.htmlEgor Tensin