-
-
Notifications
You must be signed in to change notification settings - Fork 12
feat(posts): allow multiple source directories #130
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
Conversation
I'm still currently working under the impression that we should be able to *either* configure a folder for drafts or add `draft: true` to the frontmatter.
This config option just represents a folder that drafts could be within.
Nice work so far! Are you familiar with running a mix package from a local path? It might be helpful to create a new tableau project and then set the tableau dependency to your local branch, so you can integration test it. |
Co-authored-by: Mitchell Hanberg <[email protected]>
I am familiar, just need to get it working with a sample site. I'll try to stand up your blog as a test. |
I noticed that we tested future in that first test case too.
I believe what is happening here is that the directory nested in `config.dir` isn't being searched for posts?
We've decided to go a simpler direction: instead of having a bunch of custom flags for drafts, we are just going to allow people to write posts in other folders, and optionally pass a list of strings to `config.dir` for when they want to show their posts.
Can you mark the pull request as draft (haha, coincidence) and when you're ready for a review click "ready for review" |
Sorry for the noise sir. Thank you for being patient with me. |
No worries, I just don't want to leave comments until you're ready for them 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks great! Just a couple changes and let's merge it 💪
The PagesExtension is very similar to the PostsExtension, and could benefit from this feature as well. If you're up to it, it would be awesome to implement that as well. Thanks for you work on this! |
Co-authored-by: Mitchell Hanberg <[email protected]>
I'm pretty new to the project, so it's likely I've missed a nuance. I also haven't dev tested this against a site because I'm still messing around with porting my website over.
Happy to take all the advice and criticism that I can get to help this awesome project. I've really enjoyed reading the code.
Completes #129