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

data.page is still used in a couple of places, seems to be broken #912

Closed
manuelmeurer opened this issue May 28, 2013 · 2 comments
Closed

Comments

@manuelmeurer
Copy link
Contributor

According to middleman/middleman-blog#107, data.page seems to be broken. It is still used in a couple of places:
https://github.com/middleman/middleman/blob/master/middleman-core/fixtures/frontmatter-app/source/front-matter-auto.erb
https://github.com/middleman/middleman/blob/master/middleman-core/features/front-matter-neighbor.feature
...
26 files in total.
Would a PR replacing all data.page occurrences with current_page.data be in order?

@bhollis
Copy link
Contributor

bhollis commented May 29, 2013

It isn't always broken, but yeah, I'd recommend strongly against using it. A PR to replace its usage with current_page.data would be great.

@manuelmeurer
Copy link
Contributor Author

PR here: #914

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

No branches or pull requests

2 participants