this-week-in-rust icon indicating copy to clipboard operation
this-week-in-rust copied to clipboard

Email publishing codegen script is not formatting correctly

Open mariannegoldin opened this issue 2 years ago • 2 comments

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 avatar Aug 26 '22 01:08 mariannegoldin

The specific file is ./pelicanconf.py

mariannegoldin avatar Aug 26 '22 01:08 mariannegoldin

@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

bennyvasquez avatar Nov 29 '22 20:11 bennyvasquez