Skip to content

Conversation

@mertkahyaoglu
Copy link
Member

Closes #156

@ashmaroli
Copy link
Member

What if the user would like to have the data or drafts route as their homepage?

@mertkahyaoglu
Copy link
Member Author

@ashmaroli I didn't think anybody would want that 😅 We can add that but do you think that's a useful case?

@ashmaroli
Copy link
Member

Since users are asking for the homepage to be something other the /pages/ route, I think it'd be best if user could choose whatever supported route to be their indexRoute..

@mertkahyaoglu
Copy link
Member Author

@ashmaroli 👍 Added all other routes as well.

@ashmaroli
Copy link
Member

The implementation LGTM!
Does this need test coverage?

@mertkahyaoglu
Copy link
Member Author

Absolutely but it's a bit tricky to test so I skipped it thinking code is safe. We'll see if we get any issue about this 😅

@mertkahyaoglu mertkahyaoglu merged commit 3580e32 into master Dec 6, 2020
@mertkahyaoglu mertkahyaoglu deleted the default-page branch December 6, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard main page, rather than being welcomed by posts or pages

3 participants