3 ms·
I'm more annoyed about inline CSS (which I understand is supposed to be better....but with Jekyll it gets complicated really fast to import my SCSS to CSS inlin
by ohstopitu 10y ago
I'm more annoyed about inline CSS (which I understand is supposed to be better....but with Jekyll it gets complicated really fast to import my SCSS to CSS inline).
- tangue 10y agoDid you have a look at email inliners (the premailer gem should be enough considering the AMP spec). You'll need to add a gulp or grunt task before publishing, though.
- ohstopitu 10y agoI was hoping to do it without any other gems (I'm not a Ruby dev, but I really like Jekyll because of it's support). I followed the tutorial here[0], however, the issue is, my SCSS is stored into a seperate dir, and in order to inline it...I'd be forced to either 1. modify my entire project dir setup - something I don't want to do 2. start from scratch and create my own css inline. Thanks to the above, my theme been stuck in limbo (AMP and Facebook Pages being a key feature I had created my theme for) [0]http://www.kevinsweet.com/inline-scss-jekyll-github-pages http://www.kevinsweet.com/inline-scss-jekyll-github-pages