Make sidebar code conditional in classic theme's index.html