quarto-web icon indicating copy to clipboard operation
quarto-web copied to clipboard

Update website-navigation.qmd to use `_index.qmd`

Open jameslairdsmith opened this issue 1 year ago • 3 comments

Two tweaks here would have helped me understand the "auto" option for creating navigation in websites a little bit better.

  • Using _index.qmd instead of index.qmd because the latter creates its own page, which is often not what you want.
  • Telling the user they can also control the order of a sub-directory using _index.qmd.

jameslairdsmith avatar Jun 24 '24 12:06 jameslairdsmith

/deploy-preview

cwickham avatar Jun 24 '24 17:06 cwickham

🚀 Deployed on https://deploy-preview-1181.quarto.org

github-actions[bot] avatar Jun 24 '24 17:06 github-actions[bot]

Thanks. I am suprised by this _index.qmd usage. It is not something I was aware of it explicitly working. I would like to check this usage, because as soon as we document it it will be hard to change, and for now I wonder if this is something link to other thing.

Using a _ prefix in name like _index.qmd should mean that this document is excluded from render list for the project, so I am surprised setting metadata in it will be catched.

cderv avatar Jun 25 '24 09:06 cderv