From 4bf167df5d0abee939bf3ebfa925c4fe22cd0502 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Tue, 16 Feb 2021 22:28:18 -0500 Subject: Move git links in blog --- lib/util.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/util.rb b/lib/util.rb index f5321a0..48ac7e1 100644 --- a/lib/util.rb +++ b/lib/util.rb @@ -15,6 +15,6 @@ def path_to asset_id P.path_to asset_id end -def git repo - "https://git.m-chrzan.xyz/#{repo}/about" +def git repo, path = 'about' + "https://git.m-chrzan.xyz/#{repo}/#{path}" end -- cgit v1.2.3