updated sidebar to only output links from current section (e.g. identity)