Added conditional for active page links