Regenerate themes after editing a post