mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
document that docs/blog-only modes should delete the existing homepage
This commit is contained in:
parent
3c334d781c
commit
ce10646606
2 changed files with 12 additions and 0 deletions
|
@ -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 = {
|
||||
// ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue