rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

Ouverte

#3 591 ouverte le 26 août 2022

 (2 commentaires) (0 réaction) (0 personne assignée)HTML (1 010 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (1 932 étoiles)
Métriques de merge PR
 (Merge moyen 1j 17h) (123 PRs mergées en 30 j)

Description

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'

Guide contributeur