Coder Social home page Coder Social logo

Comments (8)

sighingnow avatar sighingnow commented on May 13, 2024

May I find the problematic repo somewhere?

from jekyll-gitbook.

catherinecanfly avatar catherinecanfly commented on May 13, 2024

Hello, please see the repo here: https://github.com/catherinecanfly/Heartbloom
Sorry I removed the said problematic page, the question I am posing now is currently hypothetical as to how I can add a page that won’t show on the side TOC. Or, if I add another category in addition to pages/posts, so there is an additional category on the TOC. Thank you so much!

from jekyll-gitbook.

sighingnow avatar sighingnow commented on May 13, 2024

If you would like to add other collections, you would need to modify the configuration here:

https://github.com/catherinecanfly/Heartbloom/blob/main/_config.yml#L52

By default there's only _pages.

from jekyll-gitbook.

sighingnow avatar sighingnow commented on May 13, 2024

_posts is the default collection.

from jekyll-gitbook.

sighingnow avatar sighingnow commented on May 13, 2024

See also: https://jekyllrb.com/docs/collections/

from jekyll-gitbook.

catherinecanfly avatar catherinecanfly commented on May 13, 2024

So if I want to a collection called back-matter, do I add another collection on config and can I still use the post layout? Or do I need to add another layout?

from jekyll-gitbook.

sighingnow avatar sighingnow commented on May 13, 2024

So if I want to a collection called back-matter, do I add another collection on config and can I still use the post layout?

You need to add a back-matter entry to the config file, and you still can use the default _posts directory.

from jekyll-gitbook.

catherinecanfly avatar catherinecanfly commented on May 13, 2024

from jekyll-gitbook.

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.