fix theme integration for pelican_dynamic