jQuery(function () {
let $ = jQuery;
$("a", $(".goroda")).each( function () {
let $this = $(this);
let path = window.location.pathname;
$this.attr("href", $this.attr("href") + path.substr(1) );
} );
})