devsite-builder
Fixed link for git clone
| author | Milán Major <milan.major.work@gmail.com> |
| date | 2026-08-07 10:00 |
| commit | c0d43eecc605ca7bd55c0fbbad08778134157c2b |
| parent | 8a5657d |
| changes | 1 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):
"""