Add basename to strip the direcory name from the default title in the HTML