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

Email publishing codegen script is not formatting correctly #3591

Open
mariannegoldin opened this issue Aug 26, 2022 · 2 comments
Open

Email publishing codegen script is not formatting correctly #3591

mariannegoldin opened this issue Aug 26, 2022 · 2 comments

Comments

@mariannegoldin
Copy link
Contributor

The Pelican publishing script used by the Makefile command optimize-email is not picking up TWIR_NEWSLETTER_THEME setting and defaulting to a CSS style that does not match our most recent issues (e.g. 454).

Currently, the workaround for this has been to change pelicanconf.py from:

if '1' == os.environ.get('TWIR_NEWSLETTER_THEME'):
    THEME = 'themes/newsletter'
else:
    THEME = 'themes/rusted'

to:

THEME = 'themes/newsletter'
@mariannegoldin
Copy link
Contributor Author

The specific file is ./pelicanconf.py

@bennyvasquez
Copy link
Contributor

@mariannegoldin do you wanna take a crack at this one? If you don't have time or expertise, I'll add that help wanted label and we'll see if we can get some more eyes on it. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants