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

Make Archive subclass of Page #67

Merged
merged 2 commits into from
Aug 30, 2016
Merged

Make Archive subclass of Page #67

merged 2 commits into from
Aug 30, 2016

Conversation

alfredxing
Copy link
Member

Make Archive a subclass of Jekyll::Page, and render it using the regular Page pipeline. This should also fix long-standing issue #28.

As with incremental regen, this would still be affected by the post-listing content bug (which I'm still thinking about how to fix!). So if users are going to use {{ post.content}} on archive pages, they'll probably still have to disable incremental for now.

@alfredxing alfredxing added the fix label Aug 24, 2016
Make Archive a subclass of Jekyll::Page, and render it using the regular
Page pipleline. This should fix long-standing issue #28.
@parkr
Copy link
Member

parkr commented Aug 24, 2016 via email

@georgephillips
Copy link

Just found an issue around this with CloudCannon. Any chance we can get this merged in to add the archives to site.pages?

@parkr
Copy link
Member

parkr commented Aug 30, 2016

LGTM!

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit 3006fd9 into master Aug 30, 2016
@jekyllbot jekyllbot deleted the page branch August 30, 2016 16:16
jekyllbot added a commit that referenced this pull request Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants