From b63917094e6a69c8c01f9e7df8716f3d5fc42385 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 7 Mar 2025 19:20:54 +0800 Subject: repo/index: Display repo info only, when commits/files unavailable --- http_template_funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'http_template_funcs.go') 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 { -- cgit v1.2.3