0

I'm working on a simple Quarto project website that's just for storing a collection of typst pdfs in organized sections. The side navbar Quarto generates is everything I need for the homepage. Is there any way to have Quarto not display anything of the main body etc. from index.qmd and just render the side navbar as the whole page?

1 Answer 1

0

In case anyone else wants to do something similar in the future, I added some css to styles.css and added it to the css: option in _quarto.yaml to 1) make the sidebar 100% of the screen, 2) prevent the collapse transition, and 3) remove the collapse button

#quarto-sidebar {
  width: 100dvw !important;
  overflow: visible !important;
}

#quarto-sidebar.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    transition: none !important;
}

.quarto-btn-toggle {
    display: none !important;
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.