-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Ignore subfolders in the _posts folder. #2705
Conversation
The merge that is reverted assigned categories to posts based on the subfolders in the _posts directory and was merged under the understanding that it was fixing a bug. Subfolders in the _posts directory should not assign metadata information to posts at this point in time and was not a bug.
I only reverted the changes from the original merge. Are there any subsequent changes due to later changes that need to be made? |
assert_equal "cat2", post.categories[0] | ||
assert_equal "cat3", post.categories[1] | ||
end | ||
|
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.
Can we keep this test and ensure that the categories are not added?
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.
Good idea. I can work on that.
Whelp... that didn't work. Let me try again, locally. |
Did you try adding |
I already just added some test categories to populate the category array. Would you prefer I do it the other way? |
This will work – I'll merge this and push up a fix for how categories are added after. Thanks! |
👍 🍺 |
This reverts only the changes made in #2633
It was performed by running
git revert -m 1 18c033dc5c00b2ce0b3528cb310bf3988377e39f
and manually solving the merge conflict to preserve later changes.