add code for sidebars, internal linking