From c5dbbbf6b86c797946596f204956ff072c3b4d87 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 28 Nov 2025 17:41:20 -0500 Subject: [PATCH] fix url placemnt --- src/content/git/auto-theme.nvim.mdx | 2 -- src/content/git/barrettruth.com.mdx | 2 +- src/content/git/bmath.mdx | 2 -- src/content/git/competitive-programming.mdx | 2 -- src/content/git/cp.nvim.mdx | 2 -- src/content/git/dots.mdx | 2 -- src/content/git/midnight.nvim.mdx | 2 -- src/content/git/sl.mdx | 2 -- src/content/git/wp.mdx | 2 -- src/content/software/my-cp-setup.mdx | 2 -- src/pages/git/[slug].astro | 4 ++++ 11 files changed, 5 insertions(+), 19 deletions(-) diff --git a/src/content/git/auto-theme.nvim.mdx b/src/content/git/auto-theme.nvim.mdx index 64a65b0..f00f97c 100644 --- a/src/content/git/auto-theme.nvim.mdx +++ b/src/content/git/auto-theme.nvim.mdx @@ -4,6 +4,4 @@ slug: "auto-theme.nvim" date: "11/28/2025" --- -[source code](github.com/barrett-ruth/auto-theme.nvim) - wip diff --git a/src/content/git/barrettruth.com.mdx b/src/content/git/barrettruth.com.mdx index fe4ee55..c6916f9 100644 --- a/src/content/git/barrettruth.com.mdx +++ b/src/content/git/barrettruth.com.mdx @@ -4,4 +4,4 @@ date: "07/10/2025" slug: "barrettruth.com" --- -[source code](github.com/barrett-ruth/barrettruth.com) for this website +code for this website diff --git a/src/content/git/bmath.mdx b/src/content/git/bmath.mdx index 3698795..6ddd306 100644 --- a/src/content/git/bmath.mdx +++ b/src/content/git/bmath.mdx @@ -3,8 +3,6 @@ title: "bmath" date: "09/10/2025" --- -[source code](github.com/barrett-ruth/bmath) - header-only c++23 math library built to learn and apply modern c++ in a competitive programming environment diff --git a/src/content/git/competitive-programming.mdx b/src/content/git/competitive-programming.mdx index 39e8afe..2dfd8ae 100644 --- a/src/content/git/competitive-programming.mdx +++ b/src/content/git/competitive-programming.mdx @@ -3,8 +3,6 @@ title: "competitive-programming" date: "09/10/2025" --- -[source code](github.com/barrett-ruth/competitive-programming) - a collection of my competitive programming solutions categorized as follows: - `/kattis`: a few ICPC problems from UVA's "practices" diff --git a/src/content/git/cp.nvim.mdx b/src/content/git/cp.nvim.mdx index 76f474d..221e377 100644 --- a/src/content/git/cp.nvim.mdx +++ b/src/content/git/cp.nvim.mdx @@ -4,8 +4,6 @@ slug: "cp.nvim" date: "10/10/2025" --- -[source code](github.com/barrett-ruth/cp.nvim) - Things have changed since I last documented my competitive programming setup [here](/software/my-cp-setup.html). # my goals diff --git a/src/content/git/dots.mdx b/src/content/git/dots.mdx index e0e4093..a83fe78 100644 --- a/src/content/git/dots.mdx +++ b/src/content/git/dots.mdx @@ -3,6 +3,4 @@ title: "dots" date: "07/10/2025" --- -[source code](github.com/barrett-ruth/dots) - collection of configurations for neovim, zsh, ghostty, xorg, tmux, as well as os-specific configurations and custom scripts diff --git a/src/content/git/midnight.nvim.mdx b/src/content/git/midnight.nvim.mdx index 194e2bf..f7f0ed0 100644 --- a/src/content/git/midnight.nvim.mdx +++ b/src/content/git/midnight.nvim.mdx @@ -4,8 +4,6 @@ slug: "midnight.nvim" date: "8/11/2025" --- -[source code](github.com/barrett-ruth/midnight.nvim) - neovim theme for code, not colors. # motivation diff --git a/src/content/git/sl.mdx b/src/content/git/sl.mdx index 8a80aee..1dd6738 100644 --- a/src/content/git/sl.mdx +++ b/src/content/git/sl.mdx @@ -3,6 +3,4 @@ title: "sl" date: "09/10/2025" --- -[source code](github.com/barrett-ruth/sl) - [archive](/meditations/suck-less-or-suck-more.html) of [suckless](https://suckless.org/) repositories diff --git a/src/content/git/wp.mdx b/src/content/git/wp.mdx index 907ca17..8739bab 100644 --- a/src/content/git/wp.mdx +++ b/src/content/git/wp.mdx @@ -3,6 +3,4 @@ title: "wp" date: "07/10/2025" --- -[source code](github.com/barrett-ruth/wp) - some of my wallpapers diff --git a/src/content/software/my-cp-setup.mdx b/src/content/software/my-cp-setup.mdx index 58bbd91..c759e23 100644 --- a/src/content/software/my-cp-setup.mdx +++ b/src/content/software/my-cp-setup.mdx @@ -3,8 +3,6 @@ title: "my cp setup" date: "15/04/2025" --- -Source code [here](https://github.com/barrett-ruth/dots/blob/main/nvim/lua/cp.lua). - # my goals I wanted the following features in my competitive programming (cp) setup: diff --git a/src/pages/git/[slug].astro b/src/pages/git/[slug].astro index 763f227..5874028 100644 --- a/src/pages/git/[slug].astro +++ b/src/pages/git/[slug].astro @@ -13,6 +13,7 @@ export async function getStaticPaths() { const { repo } = Astro.props; const { Content } = await repo.render(); const cloneCommand = `git clone https://git.barrettruth.com/${repo.slug}.git`; +const githubUrl = `https://github.com/barrett-ruth/${repo.slug}`; --- @@ -24,5 +25,8 @@ const cloneCommand = `git clone https://git.barrettruth.com/${repo.slug}.git`; {cloneCommand} +
+
source code
+