Fix #2413 and setup a Jekyll.env.

Fixes #2413.