Milán Major

devsite-builder

1 branch
Code

Fixed link for git clone

authorMilán Major <milan.major.work@gmail.com>
date2026-08-07 10:00
commitc0d43eecc605ca7bd55c0fbbad08778134157c2b
parent8a5657d
changes1 file, +3 -2

Diffstat

gitweb.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Diff

diff --git a/gitweb.py b/gitweb.py
index 2617c74..0c92b7e 100755
--- a/gitweb.py
+++ b/gitweb.py
@@ -20,7 +20,8 @@ from siteutils import load_template, render, markdown
 
 REPO_DIR = "repos"
 OUTPUT_DIR = "www/git"
-CLONE_BASE = "https://git.milanmajor.dev"
+
+CLONE_BASE = "https://milanmajor.dev/git"
 
 RECORD_SEP = "\x1e"
 FIELD_SEP = "\x1f"
@@ -182,7 +183,7 @@ class Repo:
 
     @property
     def clone_url(self):
-        return f"{CLONE_BASE}/{self.name}"
+        return f"git clone {CLONE_BASE}/{self.name}.git"
 
     def branch(self):
         """