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

[Enhancement] Jekyll 4.x compatibility #148

Merged
merged 9 commits into from
Aug 11, 2020
Merged

[Enhancement] Jekyll 4.x compatibility #148

merged 9 commits into from
Aug 11, 2020

Conversation

cristianocasella
Copy link
Contributor

This PR is going to fix #146 adding compatibility to the Jekyll 4.x engine.

Tested with Jekyll 4.1.1

I had to deactivate css_inline feature, it's not working anymore and I'm not been able to fix it, any help is welcomed.

@daviddarnes
Copy link
Owner

Really appreciate you sorting this out @cristianocasella! I’ve only just recently got back into Jekyll projects I work on and I find the process of updating gems a little daunting. I’ll check out your branch and see if I can get the in-line css option working 👍

@cristianocasella
Copy link
Contributor Author

Really thanks for your effort and this project, really appreciated, great job!

@daviddarnes
Copy link
Owner

daviddarnes commented Aug 3, 2020

@cristianocasella I've got the inline css option working again, not exactly the same but similar enough. Also put back in the jekyll-default-layout gem. I realise you removed it due to incompatibility, but it's needed for many of the pages and existing users will expect it to just work. Hoping to get this fixed by requesting the gem to be published here:
benbalter/jekyll-default-layout#12

Overall I think this may have to be marked as a major version bump, as in Alembic 4.0, since it's newer compatibility and it will break a few things for people updating.

@cristianocasella
Copy link
Contributor Author

cristianocasella commented Aug 3, 2020 via email

@daviddarnes
Copy link
Owner

@cristianocasella thanks! Would you be able to give me push access to your repo so I can push my changes?

@cristianocasella
Copy link
Contributor Author

cristianocasella commented Aug 3, 2020 via email

@daviddarnes
Copy link
Owner

Thanks @cristianocasella! Got it

@daviddarnes
Copy link
Owner

All updated now @cristianocasella, just had to go the long way by making a pull request to your fork and then merge it in. Only things left to do are:

  • Hopefully update the default layout plugin when it's been deployed to rubygems
  • Bump the whole theme to v4 of itself to notify people of breaking changes
  • Merge these changes and create a release

@cristianocasella
Copy link
Contributor Author

Great, thanks for everything, finger crossed for a quick update on the default layout plugin

@daviddarnes
Copy link
Owner

@cristianocasella I've been tipped off that we could remote the default layout plugin entirely if we set defaults in the config for page and post collections. More info here: https://jekyllrb.com/docs/configuration/front-matter-defaults/

Would you mind giving it a go in your fork? If not I'll set up your repo properly on my machine and push to it 😅

@cristianocasella
Copy link
Contributor Author

sure, working on it

Adding default layouts in the config
@cristianocasella
Copy link
Contributor Author

@daviddarnes fixed the config and tested, now the default layouts are in place.

@daviddarnes
Copy link
Owner

Looks good! Thanks a lot for this work @cristianocasella. Going to merge now, will add some minor tweaks and then submit gem 👍

@daviddarnes daviddarnes merged commit 6ac7093 into daviddarnes:master Aug 11, 2020
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.

[Proposal] Please update for Jekyll 4.0
2 participants