rust-lang/this-week-in-rust

Email publishing codegen script is not formatting correctly

Open

#3,591 创建于 2022年8月26日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)HTML (1,932 star) (1,010 fork)batch import
bughelp wanted

描述

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'

贡献者指南