Skip to content

Did not load homepage in router mode history and subdirectory #1763

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rottmann opened this issue Mar 4, 2022 · 2 comments
Closed

Did not load homepage in router mode history and subdirectory #1763

rottmann opened this issue Mar 4, 2022 · 2 comments

Comments

@rottmann
Copy link

rottmann commented Mar 4, 2022

Bug Report

Steps to reproduce

Settings

homepage: "index.md"
relativePath: false
routerMode: history
basePath: /test/

Open the doc http://localhost:9000/test/

What is current behaviour

It did not load /test/index.md it try to load /test/test/README.md

Aliases not work with homepage file too.

What is the expected behaviour

Load index.md

Other relevant information

@Koooooo-7
Copy link
Member

Currently, the whole site is only one homepage, which means there is no other homepage in subdirectory.
If you wanna have a default index page in subdirectory, it is README.md in the subdirectory by default.

@jhildenbiddle
Copy link
Member

Bug acknowledged. Tracking with #1891.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants