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 should not be processed differently than posts. #20

Open
ghost opened this issue Oct 11, 2015 · 1 comment
Open

Pages should not be processed differently than posts. #20

ghost opened this issue Oct 11, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 11, 2015

When generating aliases for pages in the root dir like /about.md (the actual file, not the alias), the plugin generates the wrong forwarding file. I fixed this by deleting the process_pages method and calling process_posts instead (and for semantics renaming it process_posts_and_pages).

However, it seems like there was a reason to have different methods for posts and pages. I'd be happy to provide a pull request, once I understand your motivation.

@egladman
Copy link

egladman commented Nov 9, 2015

I too would like to understand why pages and posts were discerned from one another.

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

1 participant