2019.djangocon.us
2019.djangocon.us copied to clipboard
Social pic template
WARNING: Contains code from https://github.com/djangocon/2019.djangocon.us/pull/80 Please merge 80 first.
This adds the social pic template that social media folks can use to quickly generate photos for Twitter. While you can use frontmatter to generate these pages, you can also use URL. Example:
Going here: /social-pic-template-demo/?tint=tint-brand-color1&text=Howdy+DjangoCon+Attendees!&img=/static/img/full-crowd.jpg&type=alt
Will produce an image with the first tint color, with the text "Howdy DjangoCon Attendees!", over the full crowd image, and use the main body font.
Tests:
https://twitter.com/ygtester1/status/1115048611212079110 https://twitter.com/ygtester1/status/1115043177667399680
I assigned this to myself since we are close, but not yet ready for it. This should give me time to finish it out.