Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : Standalone Navigation for sub sections #67

Open
Noobzik opened this issue Oct 17, 2022 · 2 comments
Open

Feature request : Standalone Navigation for sub sections #67

Noobzik opened this issue Oct 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Noobzik
Copy link

Noobzik commented Oct 17, 2022

docs
|______ index.md
|______ subdir/
              |_____ index.md
              |_____ subsubdir/
                           |_____ index.md
                           |_____ ....
|______ Teachings/
              |_____ .pages
              |_____ index.md
              |_____ CoursTAI/
                           |_____ .pages
                           |_____ index.md
                           |_____ ....
                           |_____ subsubdir222/
              |_____ SQL/
                           |_____ .pages
                           |_____ index.md
                           |_____ ....
                           |_____ subsubdir222/
                                       |_____ index.md
                                       |_____ ....

What I am trying to achieve : I want to create a sub-directory with it's own navigation that doesn't show other upper section navigation

In example:
The navigation for CoursTAI should only include all pages under CoursTAI
Teaching and SQL should not be visible

image

@lukasgeiter lukasgeiter added the enhancement New feature or request label Oct 17, 2022
@lukasgeiter
Copy link
Owner

What should happen to the tabs at the top? Those are part of the navigation as well.

Also am I correct in assuming that when the user is on the SQL page, CoursTAI should not be visible in the navigation?

@Noobzik
Copy link
Author

Noobzik commented Oct 17, 2022

Also am I correct in assuming that when the user is on the SQL page, CoursTAI should not be visible in the navigation?

Yes, when the user is on the SQL page, CoursTAI should not be visible.

What should happen to the tabs at the top?

Anything related to CoursTAI, SQL... will not be shown at the tabs on the top

Actually, I used an custom tabs nav with .pages.

Based on the example, this is the content of my .pages located at docs folder

nav:
    - Home: index.md
    - know-me
    - Teachings
    - Projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants