jekyll_alias_generator
jekyll_alias_generator copied to clipboard
Pages should not be processed differently than posts.
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.
I too would like to understand why pages and posts were discerned from one another.