From 890a2a633f4b43e603c363edbe23d05fd24522dd Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Tue, 20 May 2025 14:23:12 -0500 Subject: [PATCH] remove slightly cringe not --- scripts/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/index.js b/scripts/index.js index 38bac6b..bcba2d6 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -53,7 +53,7 @@ function renderRepoDescription(repoLink) { post.classList.add("post"); const descriptionText = document.createElement("div"); - descriptionText.textContent = + descriptionText.innerHTML = repo.description || "No description available"; descriptionText.style.textDecoration = "none"; @@ -64,12 +64,6 @@ function renderRepoDescription(repoLink) { cloneUrl.innerHTML = `git clone https://git.barrettruth.com/git/${repoName}.git`; post.appendChild(cloneUrl); - const viewNote = document.createElement("div"); - viewNote.style.marginTop = "15px"; - viewNote.style.fontSize = "0.8em"; - viewNote.style.fontStyle = "italic"; - viewNote.textContent = "Code should not be viewed in a browser."; - post.appendChild(viewNote); postsContainer.appendChild(post); })