jekyll-theme-prologue
jekyll-theme-prologue copied to clipboard
Blog classifed (new feature)
When clicking the Amazing Blog, I want the feature that the catagory shows below, but not the list of articles.
Could you please be more specific? I'm not sure what you mean by category.
The left navbar of website:
_____________
Home |
_____________
Blog |
_____________
Reading List |
_____________
category |
_____________
When clicking Blog, the bottom of navbar shows the category which is specified in blog page under the directory of _posts. I'm trying myself, but I'm not expert at jeykll or html.
If I understand correctly, you're looking for a way to remove the list of blog posts when you click the Blog link. Please correct me if I'm not understanding right.
In this theme, there are two cases in which those extra links would appear; I mean the ones underneath the divider, that change when you scroll up and down. Those two cases are:
- If the page is the homepage, everything in the
_sections
folder will show up in this list. You can tell if a page is the homepage because it haslayout: home
in the frontmatter. By default, this file isindex.md
orindex.html
. - If the page is the blog page, everything in the
_posts
folder will show up in this list, but shortened as a preview, with a "Read more" link. You can tell if a page is the blog page because it haslayout: blog
in the frontmatter. By default, this file isblog.html
orblog.md
.
If you're looking for a way to display a page without that list of scrolly sections or post previews, set layout: page
in the frontmatter, and write your content (in Markdown or html) below the frontmatter. An example in the GitHub repository is reading-list.md
. You can see from the demo site at https://chrisbobbe.github.io/jekyll-theme-prologue/reading-list.html that all the content on the page displays as a single chunk, without multiple sections that each has a link.
The blog page is filled with posts, including those links, so that viewers can see them at a glance and click "Read more" on any that interest them.