aboutsummaryrefslogtreecommitdiff
path: root/http_template_funcs.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 19:20:54 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 19:20:54 +0800
commitb63917094e6a69c8c01f9e7df8716f3d5fc42385 (patch)
treeb959c05bcafefde44a883e1c3896b8c3e4c099c8 /http_template_funcs.go
parentindex, group: Escape path anchors (diff)
downloadforge-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.go2
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 {