m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-02-16 22:28:18 -0500
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-02-16 23:13:49 -0500
commit4bf167df5d0abee939bf3ebfa925c4fe22cd0502 (patch)
treeb524ecb75308afec3a8a2f5a034d864c5c8c5c55 /lib
parentf49446993a09a417566b0ca33fdf498048edf9e5 (diff)
Move git links in blog
Diffstat (limited to 'lib')
-rw-r--r--lib/util.rb4
1 files changed, 2 insertions, 2 deletions
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