From f49446993a09a417566b0ca33fdf498048edf9e5 Mon Sep 17 00:00:00 2001
From: Marcin Chrzanowski <m@m-chrzan.xyz>
Date: Tue, 16 Feb 2021 22:09:12 -0500
Subject: Move links to self hosted git

---
 src/index.html.erb    |  4 +---
 src/projects.html.erb | 14 +++++++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

(limited to 'src')

diff --git a/src/index.html.erb b/src/index.html.erb
index a5fbefb..5517b36 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -20,9 +20,7 @@
     <li><a href='mailto:marcin.j.chrzanowski@gmail.com'>Email</a></li>
     <li><a href=<%= path_to 'key'%>>PGP</a></li>
     <li>
-      <a href='https://gitlab.com/m-chrzan'>GitLab</a>
-      /
-      <a href='https://github.com/m-chrzan'>GitHub</a>
+      <a href='https://git.m-chrzan.xyz'>Code</a>
     </li>
     <li><a href='https://linkedin.com/in/marcin-chrzanowski'>LinkedIn</a></li>
 </ul>
diff --git a/src/projects.html.erb b/src/projects.html.erb
index 39e698d..f5cdad2 100644
--- a/src/projects.html.erb
+++ b/src/projects.html.erb
@@ -1,8 +1,16 @@
+<p>
+You can find my most useful and interesting projects
+<a href='https://git.m-chrzan.xyz'>here</a>. Mirrors of these and some
+additional code can be found on my <a href='https://github.com/m-chrzan'>GitHub
+</a> and <a href='https://gitlab.com/m-chrzan'>GitLab</a> profiles (the extra
+stuff is mostly a lot of university assignments).
+</p>
+
 <ul>
-    <li><a href='https://gitlab.com/m-chrzan/dicebag'>Dicebag</a>: a dice
+    <li><a href='<%= git 'dicebag' %>'>Dicebag</a>: a dice
         expression parser and roller.
     </li>
-    <li><a href='https://gitlab.com/m-chrzan/m-chrzan.gitlab.io'>This website</a>: a small
+    <li><a href='<%= git 'website' %>'>This website</a>: a small
         mess of simple scripts for static site generation. I probably should've
         used Jekyll, but I wanted to play around and build something minimal for
         personal use. I'm not a webdev.
@@ -10,6 +18,6 @@
     <li><a href='http://hex.m-chrzan.xyz'>Hex Curler</a>: a minimal webgame to be
         played with <code>curl</code>.
         <a href='<%= path_to 'blog_hex-curler' %>' >[blog]</a>
-        <a href='https://gitlab.com/m-chrzan/hex-curler'>[source]</a>
+        <a href='<%= git 'hex-curler' %>'>[source]</a>
     </li>
 </ul>
-- 
cgit v1.2.3