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

pages variable haas all pages instead having just english pages or portuguese pages #166

Closed
viniciusdacal opened this issue Jul 13, 2015 · 2 comments

Comments

@viniciusdacal
Copy link
Contributor

Inside index.html, when we try to access variable posts, we got posts from a specific language.
With recently changes in pages, we added support for multiple language, but we didn't change var pages structure, so we are receiving all pages inside index template.
How about we change it's structure to be equal var posts.

Above that, I did notice we can't access var pages inside pages template.
If I want to create a menu using var pages to list my available pages, that appears in all pages, It's not possible.
Please, correct if I'm wrong.

@UltCombo @jaydson

@UltCombo
Copy link
Member

How about we change it's structure to be equal var posts.

👍

Above that, I did notice we can't access var pages inside pages template.

See #161

@viniciusdacal
Copy link
Contributor Author

Thanks @UltCombo
I will work on var pages structure, and I'll send a pull request soon.
After that, I'll try to figure out something about #161, because I need that to migrate my blog.

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