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

Update #relative_path for _drafts and add tests. #2042

Merged
merged 1 commit into from
Feb 17, 2014

Conversation

anthonyjsmith
Copy link
Contributor

Resolves #2019. Now page.path for a draft post will (correctly) give _drafts/this-is-a-draft.md rather than (currently) _posts/this-is-a-draft.md. Add new tests for drafts. Also check path variable in
test for posts.

Resolves jekyll#2019. Add new tests for drafts. Also check path variable in
test for posts.
@parkr parkr added this to the 2.0 milestone Feb 13, 2014
@parkr parkr added the Fix label Feb 13, 2014
@parkr
Copy link
Member

parkr commented Feb 15, 2014

Fails on 1.9.2 but we just dropped support ( #2045 ) so I don't much care. 👍 from me!

@mattr-?

parkr added a commit that referenced this pull request Feb 17, 2014
@parkr parkr merged commit fb8e562 into jekyll:master Feb 17, 2014
parkr added a commit that referenced this pull request Feb 17, 2014
@anthonyjsmith anthonyjsmith deleted the draft-path branch February 17, 2014 08:53
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

page.path for drafts give '_posts/...' rather than '_drafts/...'
4 participants