document that docs/blog-only modes should delete the existing homepage

This commit is contained in:
slorber 2020-06-23 18:29:19 +02:00
parent 3c334d781c
commit ce10646606
2 changed files with 12 additions and 0 deletions

View file

@ -140,6 +140,12 @@ https://{your-domain}/blog/atom.xml
You can run your Docusaurus 2 site without a landing page and instead have your blog's post list page as the index page. Set the `routeBasePath` to be `'/'` to indicate it's the root path.
:::caution
Don't forget to delete the existing homepage at `./src/pages/index.js`
:::
```js {9} title="docusaurus.config.js"
module.exports = {
// ...