Giter Club home page Giter Club logo

Comments (3)

chrisbobbe avatar chrisbobbe commented on June 16, 2024

Could you please be more specific? I'm not sure what you mean by category.

from jekyll-theme-prologue.

monkcage avatar monkcage commented on June 16, 2024

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.

from jekyll-theme-prologue.

chrisbobbe avatar chrisbobbe commented on June 16, 2024

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:

  1. 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 has layout: home in the frontmatter. By default, this file is index.md or index.html.
  2. 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 has layout: blog in the frontmatter. By default, this file is blog.html or blog.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.

from jekyll-theme-prologue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.