diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-07-02 20:45:16 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-07-02 20:45:16 +0200 |
commit | d1638198df3a65fe89bfb28f6e1dd285877b55bc (patch) | |
tree | d7532d4f346e3ad8cf36ae95e365e79f8aa334e5 /pkg/handler/git | |
parent | cb6060a60d71ce1be1591bb10f499916155160de (diff) | |
download | cerrado-1a318c35745e1f75629aeb3e106a1842116facdc.tar.gz cerrado-1a318c35745e1f75629aeb3e106a1842116facdc.tar.bz2 cerrado-1a318c35745e1f75629aeb3e106a1842116facdc.zip |
Diffstat (limited to 'pkg/handler/git')
-rw-r--r-- | pkg/handler/git/handler.go | 2 |
1 files changed, 2 insertions, 0 deletions
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()) |