getnikola/nikola-themes — pull request #21 by etienned (2013-11-10 20:29:25+00:00)
Title: Fixed test that check if mathjax script should be include in jinja themes.

`rejectattr` and `selectattr` return a generator so the `if` was always `True`. And we want to check if there's at least one post needing mathjax so we need to keep post that have the `is_mathjax` attribute, not rejecting them.