jekyll-pagination | Jekyll plugin to extend the pagination generator | Plugin library
kandi X-RAY | jekyll-pagination Summary
kandi X-RAY | jekyll-pagination Summary
Jekyll plugin to extend the pagination generator.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Set the dir
- Check if the file exists
jekyll-pagination Key Features
jekyll-pagination Examples and Code Snippets
Community Discussions
Trending Discussions on jekyll-pagination
QUESTION
I am using jekyll-pagination on a site I am working on. I have a loop for a navbar, that loops through the sites pages, and adds them to the navbar. The navbar is picking up the extra paginated pages from the blog, and adding the "Blog" to the navbar over and over again. Is there anyway to only have "Blog" show up once, and the additional blog pages be linked only in the blog?
Here is a grab of the navbar:
Here is the code for the navbar:
...ANSWER
Answered 2018-Feb-10 at 00:30After playing with it I found out what I needed to do. I made a folder under _site
and called it _data
, within that I made a file called nav.yml
and added the following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jekyll-pagination
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page