cfpb / email-templates

Design, research, and front-end implementation of responsive email templates for the CFPB.
Creative Commons Zero v1.0 Universal
4 stars 5 forks source link

Initial front-end work for basic responsive template #9

Closed Scotchester closed 9 years ago

Scotchester commented 9 years ago

@hkeeler, there's a lot of unnecessary cruft here as a result of me starting this from the Capital Framework generator. The end result that you want to focus on is dist/index.html, and its minified version, dist/index.min.html.

Let me know if you have any questions!

Scotchester commented 9 years ago

Actually, no, you want src/index.html, because what's in dist/ has been run through premailer, which you're going to do on the back-end.

hkeeler commented 9 years ago

Cool. The various flavors of index.html look good. I skimmed through the rest.

I am probably going to use the dist version directly. I haven't had time to implement the API as I was hoping, so I'm taking a stab at using django-templated-email. Unfortunately, it doesn't seem to have any premailer functionality built in. Also, no guarantee the Python premailer would match exactly with the grunt-premailer you've been testing against, so probably not a good idea to go that route now. Anyway, glad the dist version is in here.

Merging...