diff --git a/scripts/templates/homepage.js b/scripts/templates/homepage.js index 224439e286..44efd685e0 100644 --- a/scripts/templates/homepage.js +++ b/scripts/templates/homepage.js @@ -23,7 +23,7 @@ function homepageTemplate(data) { p2.textContent = `${price}Є/jour`; const linkPhotographer = document.createElement('a'); - linkPhotographer.setAttribute("href", `photographer.html?id=${id}`); + linkPhotographer.setAttribute("href", `scripts/templates/photographer.js?id=${id}`); linkPhotographer.appendChild(photographer) photographer.appendChild(img); photographer.appendChild(h2);