Creating a website with Quarto
Adding sections
Inspired from Adding a blog to your existing Quarto website
Create a subdirectory within the main projrect directory (
cheatsheetsin this case) and add a_metadata.ymlfile containing section-specific options (format, etc…):
- The options specified within
_metadata.ymlwill apply to all docs within thecheatsheetsfolder:
cheatsheets/_metadata.yml
- Create a listing page within the main project directory (
cheatsheets.qmdin this case)
cheatsheets.qmd
- Add the newly created listing,
cheatsheets.qmd, to thenavbarsection of_quarto.yml(line 12):
_quarto.yml
- Add a subfolder (
quarto_websitein this case) to the newly created section and a anindex.qmdwithin that:
- Populate the newly created
quartodocument to generate an entry within the newly created section.