1.always generate absolute path
2.only handle nav bar in layout file