Fix. For basepath = `/index`, current_page = "" -> current_page = "/"