-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Labels
Description
I'm currently working on a Jekyll theme, and have discovered while testing that jekyll-paginate-v2 doesn't properly pick up layouts outside of the site-wide _layouts directory.
Current Behavior: Suppose my theme includes the following files:
_layouts/autopage_category.html
_layouts/autopage_collection.html
_layouts/autopage_tags.html
Running bundle exec jekyll serve will cause AutoPages to complain that the relevant default layouts cannot be found. Copying these into my site's _layouts folder works as expected.
Expected Behavior: If a layout is included in a theme but not in the site's _layouts folder, use the theme's layout. This would bring jekyll-paginate-v2's behavior w.r.t. layouts in line with other Jekyll plugins (such as jekyll-archives).