Use weight
within .Rmd
file to order pages. See the example:
_index.Rmd
for Blogdwon a site page---
weight: 1
title: "Blogdown a site"
author: "Ming Chen"
output: html_document
---
_index.Rmd
for Host site on GitHub page---
weight: 2
title: "Host site on GitHub"
author: "Ming Chen"
output: html_document
---
_index.Rmd
for Edit config.toml page---
weight: 3
title: "Edit config.toml"
author: "Ming Chen"
output: html_document
---
├── _index.Rmd
├── _index.html
├── level-2-menu-1
│ ├── _index.Rmd
│ ├── _index.html
│ ├── page-1.Rmd
│ ├── page-1.html
│ ├── page-2.Rmd
│ └── page-2.html
├── page-1.Rmd
├── page-1.html
├── page-2.Rmd
└── page-2.html
==> level-1-menu-1/_index.Rmd <==
---
weight: 6
title: "Level 1 Menu 1"
author: "Ming Chen"
output: html_document
---
==> level-1-menu-1/page-1.Rmd <==
---
weight: 1
title: "Page 1"
author: "Ming Chen"
output: html_document
---
==> level-1-menu-1/page-2.Rmd <==
---
weight: 2
title: "Page 2"
author: "Ming Chen"
output: html_document
---
==> level-1-menu-1/level-2-menu-1/_index.Rmd <==
---
title: "Level 2 Menu 1"
author: "Ming Chen"
output: html_document
---
==> level-1-menu-1/level-2-menu-1/page-1.Rmd <==
---
weight: 1
title: "Page 1"
author: "Ming Chen"
output: html_document
---
==> level-1-menu-1/level-2-menu-1/page-2.Rmd <==
---
weight: 2
title: "Page 2"
author: "Ming Chen"
output: html_document
---