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

outputPath.endsWith is not a function error with permalink: false #12

Closed
karlnippoldt opened this issue Mar 23, 2020 · 0 comments · Fixed by #13
Closed

outputPath.endsWith is not a function error with permalink: false #12

karlnippoldt opened this issue Mar 23, 2020 · 0 comments · Fixed by #13

Comments

@karlnippoldt
Copy link
Contributor

I have a page on my site that is set to permalink: false, resulting in this issue on build.

The quick fix suggested in that bug report seems to work well for the time being, so I'll submit a pull request shortly with this fix.
if(outputPath && outputPath.endsWith('.html')) { … }

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

Successfully merging a pull request may close this issue.

1 participant