Skip to content

Better looking newsletter (specially in Android Gmail). #117

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

Merged
merged 1 commit into from
Sep 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ Use the included `new_contribs.sh` script:
```
pelican content -s pelicanconf.py
```
### To build the newsletter

* Generate the HTML
```
TWIR_NEWSLETTER_THEME=1 pelican --delete-output-directory content
```
* Copy the HTML and inline CSS at http://zurb.com/ink/inliner.php - (MailChimp's inliner doesn't remove the CSS from `<head>`).
* Send the newsletter (we currently use MailChimp).
Binary file added content/images/logo32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/logo400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

if '1' == os.environ.get('TWIR_NEWSLETTER_THEME'):
THEME = 'themes/newsletter'
css_path = os.path.join(os.path.dirname(__file__), 'themes', 'newsletter', 'static', 'css')
with open(os.path.join(css_path, 'ink.css')) as f:
CSS_INK = f.read()
with open(os.path.join(css_path, 'main.css')) as f:
CSS_MAIN = f.read()
else:
THEME = 'themes/rusted'

Expand Down
Loading