diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-07 19:20:54 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-07 19:20:54 +0800 |
commit | b63917094e6a69c8c01f9e7df8716f3d5fc42385 (patch) | |
tree | b959c05bcafefde44a883e1c3896b8c3e4c099c8 /http_template_funcs.go | |
parent | index, group: Escape path anchors (diff) | |
download | forge-b63917094e6a69c8c01f9e7df8716f3d5fc42385.tar.gz forge-b63917094e6a69c8c01f9e7df8716f3d5fc42385.tar.zst forge-b63917094e6a69c8c01f9e7df8716f3d5fc42385.zip |
repo/index: Display repo info only, when commits/files unavailable
Diffstat (limited to 'http_template_funcs.go')
-rw-r--r-- | http_template_funcs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_template_funcs.go b/http_template_funcs.go index a7ebb1e..016d268 100644 --- a/http_template_funcs.go +++ b/http_template_funcs.go @@ -4,9 +4,9 @@ package main import ( + "net/url" "path" "strings" - "net/url" ) func first_line(s string) string { |