From d1638198df3a65fe89bfb28f6e1dd285877b55bc Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Wed, 2 Jul 2025 20:45:16 +0200 Subject: feat: Show git clone url on summary --- pkg/handler/git/handler.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/handler/git/handler.go') diff --git a/pkg/handler/git/handler.go b/pkg/handler/git/handler.go index cb202a2..ffa5dfd 100644 --- a/pkg/handler/git/handler.go +++ b/pkg/handler/git/handler.go @@ -38,6 +38,7 @@ type ( GetRootReadme() string GetSyntaxHighlight() string GetOrderBy() config.OrderBy + GetHostname() string } ) @@ -194,6 +195,7 @@ func (g *GitHandler) Summary(w http.ResponseWriter, r *ext.Request) error { Tags: tags, Branches: branches, Commits: commits, + Hostname: g.config.GetHostname(), }, } templates.WritePageTemplate(w, gitList, r.Context()) -- cgit v1.2.3