feat: ignore non-.git repos

This commit is contained in:
Barrett Ruth 2025-05-14 14:20:45 -04:00
parent bec2c0d2a8
commit d2be55824f

View file

@ -42,6 +42,8 @@ function renderRepoDescription(repoLink) {
let repoName = repoLink.textContent;
if (repoName.toLowerCase().endsWith('.git')) {
repoName = repoName.slice(0, -4);
} else {
return;
}
postsContainer.innerHTML = "";