Skip to content
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

createPage path option should default to "/" #3178

Closed
luczaki114 opened this issue Dec 10, 2017 · 5 comments
Closed

createPage path option should default to "/" #3178

luczaki114 opened this issue Dec 10, 2017 · 5 comments

Comments

@luczaki114
Copy link
Contributor

createPage path option requires a non empty string and it would be nice for it to default to "/" when it is empty.

@calcsam
Copy link
Contributor

calcsam commented Dec 12, 2017

This seems like a great idea. Want to write a PR adding this?

@KyleAMathews
Copy link
Contributor

You can add the code here

actions.createPage = (page: PageInput, plugin?: Plugin, traceId?: string) => {

@luczaki114
Copy link
Contributor Author

I'll put something together. :)

@calpa
Copy link
Contributor

calpa commented Dec 19, 2017

@luczaki114 any update?

@KyleAMathews
Copy link
Contributor

Due to the high volume of issues, we're closing out older ones without recent activity. Please open a new issue if you need help!

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

4 participants