Giter Site home page Giter Site logo

Comments (3)

matcornic avatar matcornic commented on August 25, 2024

I don't really understand your question, but I will try to give an answer anyway.

A table of content is available in the fixed navbar, at the left of the current page title.

In 2.0.0, it's automatically avalaible on default pages but can be disabled by setting toc = false in the Front Matter of the page. Prior to 2.0.0, you have to set the parameter to true.

See page Markdown for example

from hugo-theme-learn.

klausenbusk avatar klausenbusk commented on August 25, 2024

I don't really understand your question, but I will try to give an answer anyway.

I want something similar to: https://borgbackup.readthedocs.io/en/stable/installation.html , you can see the "headline" in the menu. Ex clicking Pre-Installation Considerations goes to the Pre-Installation Considerations headline on the same page.
I'm wondering if this theme can do the same?

In 2.0.0, it's automatically avalaible on default pages but can be disabled by setting toc = false in the Front Matter of the page. Prior to 2.0.0, you have to set the parameter to true.

That seems to be something else. toc = false remove the page from the menu as I understand from the example site.

Sorry if I'm confusing, I'm pretty new to this and all the terms.

from hugo-theme-learn.

matcornic avatar matcornic commented on August 25, 2024

The left menu contains only pages. For anchors of the current page, it's automatically generated like this: http://recordit.co/KTJPaCAF92

from hugo-theme-learn.

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.