rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

Open

#3591 aperta il 26 ago 2022

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)HTML (1010 fork)batch import
bughelp wanted

Metriche repository

Star
 (1932 star)
Metriche merge PR
 (Merge medio 1g 17h) (113 PR mergiate in 30 g)

Descrizione

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'

Guida contributor