diff options
-rw-r--r-- | go.mod | 2 | ||||
-rw-r--r-- | main.go | 4 | ||||
-rw-r--r-- | routes/handler.go | 2 | ||||
-rw-r--r-- | routes/routes.go | 4 | ||||
-rw-r--r-- | routes/template.go | 2 | ||||
-rw-r--r-- | routes/util.go | 2 | ||||
-rw-r--r-- | templates/head.html | 1 |
7 files changed, 8 insertions, 9 deletions
@@ -1,4 +1,4 @@ -module git.icyphox.sh/legit +module git.sr.ht/~runxiyu/legitrx go 1.22 @@ -6,8 +6,8 @@ import ( "log" "net/http" - "git.icyphox.sh/legit/config" - "git.icyphox.sh/legit/routes" + "git.sr.ht/~runxiyu/legitrx/config" + "git.sr.ht/~runxiyu/legitrx/routes" ) func main() { diff --git a/routes/handler.go b/routes/handler.go index 2a35168..38a57ee 100644 --- a/routes/handler.go +++ b/routes/handler.go @@ -3,7 +3,7 @@ package routes import ( "net/http" - "git.icyphox.sh/legit/config" + "git.sr.ht/~runxiyu/legitrx/config" ) // Checks for gitprotocol-http(5) specific smells; if found, passes diff --git a/routes/routes.go b/routes/routes.go index 327e7b4..df3c056 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "git.icyphox.sh/legit/config" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/config" + "git.sr.ht/~runxiyu/legitrx/git" "github.com/dustin/go-humanize" "github.com/microcosm-cc/bluemonday" "github.com/russross/blackfriday/v2" diff --git a/routes/template.go b/routes/template.go index 0b03015..8a22f5f 100644 --- a/routes/template.go +++ b/routes/template.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/git" ) func (d *deps) Write404(w http.ResponseWriter) { diff --git a/routes/util.go b/routes/util.go index 7d444d0..2f636e2 100644 --- a/routes/util.go +++ b/routes/util.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/git" ) func isGoModule(gr *git.GitRepo) bool { diff --git a/templates/head.html b/templates/head.html index 08c572e..b3f71c9 100644 --- a/templates/head.html +++ b/templates/head.html @@ -3,7 +3,6 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css"> <link rel="icon" type="image/png" size="32x32" href="/static/legit.png"> {{ if .parent }} <title>{{ .meta.Title }} — {{ .name }} ({{ .ref }}): {{ .parent }}/</title> |