conditional for sidebar links