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

Exclude files starting with an _underscore from being compiled into pages #220

Closed
caendesilva opened this issue May 1, 2022 · 2 comments · Fixed by #254
Closed

Exclude files starting with an _underscore from being compiled into pages #220

caendesilva opened this issue May 1, 2022 · 2 comments · Fixed by #254

Comments

@caendesilva
Copy link
Member

These can then be used as drafts, and for partials.

@caendesilva
Copy link
Member Author

RealtimeCompiler gives this error when attempting to view a file starting with an underscore:

Warning: file_get_contents([...]/_site/posts\draft.html): Failed to open stream: No such file or directory in [...]\vendor\hyde\realtime-compiler\src\Actions\CompilesSourceFile.php on line 37

@caendesilva
Copy link
Member Author

caendesilva commented May 2, 2022

Update documentation that files starting with an _underscore are excluded from being compiled into pages

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