jekyll_alias_generator icon indicating copy to clipboard operation
jekyll_alias_generator copied to clipboard

Pages should not be processed differently than posts.

Open ghost opened this issue 9 years ago • 1 comments

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.

ghost avatar Oct 11 '15 11:10 ghost

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

egladman avatar Nov 09 '15 22:11 egladman