rewrite layer_link that including home link