rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

Open

#3.591 aberto em 26 de ago. de 2022

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)HTML (1.010 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (1.932 stars)
Métricas de merge de PR
 (Mesclagem média 1d 17h) (113 fundiu PRs em 30d)

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'

Guia do colaborador