fixed repository sort
fixed side bar template links