diff --git a/layouts/shortcodes/github-pages.html b/layouts/shortcodes/github-pages.html index d9bffec..d5d1887 100644 --- a/layouts/shortcodes/github-pages.html +++ b/layouts/shortcodes/github-pages.html @@ -42,7 +42,7 @@ const descriptionCell = row.insertCell(1); const urlCell = row.insertCell(2); - const repoUrl = `https://github.com/${username}/${repo.name}`; + const repoUrl = repo.html_url; const pagesUrl = repo.homepage; nameCell.innerHTML = `${repo.name}`;