diff --git a/src/buildSitemap.js b/src/buildSitemap.js index b0037e5..ec4a5d4 100644 --- a/src/buildSitemap.js +++ b/src/buildSitemap.js @@ -31,8 +31,9 @@ const municipalitiesSort = () => { return sortedMunicipalities; }; -const homepage = `https://gocemitevski.github.io/osnovni-ucilista-mk/?`; +const homepage = `https://gocemitevski.github.io/osnovni-ucilista-mk`; const sitemap = data.records.map(item => `${homepage}/uchilishte/${encodeURIComponent(cleanName(transliterate(item[3] + ' ' + item[2])).toLowerCase())}`); -sitemap.push(`${homepage}/opshtina/${encodeURIComponent(cleanName(transliterate(skopjeTitle)).toLowerCase())}/`); +sitemap.push(`${homepage}/adresar`); +sitemap.push(`${homepage}/za-izrabotkata`); municipalitiesSort().map(item => sitemap.push(`${homepage}/opshtina/${encodeURIComponent(cleanName(transliterate(item[0])).toLowerCase())}`)); console.log(`${sitemap.map(el => `${el}`).join('')}`);