Take variants into account when calculating template digests in ActionView::Digestor