From 343d678f35997b55c336beebc591b0f0401a81a2 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sun, 28 Apr 2024 13:10:49 +0700 Subject: [PATCH] [Fix] repo link --- layouts/shortcodes/github-pages.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`;