small tweaks

This commit is contained in:
Barrett Ruth 2025-10-08 00:22:42 -04:00
parent 81fca03582
commit d351cd2e3e
3 changed files with 7 additions and 8 deletions

View file

@ -5,7 +5,7 @@
<footer> <footer>
<span>ʕ •ᴥ•ʔ</span> <span>ʕ •ᴥ•ʔ</span>
<div class="footer-links"> <div class="footer-links">
<a target="_blank" href="https://git.barrettruth.com">git</a> <a target="_blank" href="https://barrettruth.com/git">git</a>
<a target="_blank" href="https://www.linkedin.com/in/barrett-ruth/" <a target="_blank" href="https://www.linkedin.com/in/barrett-ruth/"
>linkedin</a >linkedin</a
> >

View file

@ -1,8 +1,6 @@
--- ---
title: "wp" title: "wp.git"
date: "07/10/2025" date: "07/10/2025"
--- ---
# wp some of my wallpapers: `git clone https://git.barrettruth.com/wp.git`
some of my wallpapers

View file

@ -31,14 +31,15 @@ const title = "Git Repositories";
repos.sort((a, b) => a.localeCompare(b)); repos.sort((a, b) => a.localeCompare(b));
for (const name of repos) { for (const name of repos) {
const cls = `repo-${name}`; const label = name.replace(/\.git$/,"");
const cls = `repo-${label}`;
const li = document.createElement("li"); const li = document.createElement("li");
li.className = `topic ${cls}`; li.className = `topic ${cls}`;
const a = document.createElement("a"); const a = document.createElement("a");
// a.href = `https://git.barrettruth.com/${name}`; a.href = `${window.location.origin}/git/${label}`;
a.textContent = name; a.textContent = label;
a.setAttribute("data-topic", name); a.setAttribute("data-topic", name);
li.appendChild(a); li.appendChild(a);