Add sidebar- filtering for templates