diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 23ee989e3..ee3406fac 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -111,12 +111,12 @@ {{if eq $n 0}}
{{if not $.DisableHTTP}} - {{end}} {{if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} - {{end}} @@ -125,6 +125,19 @@ {{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}} {{end}} + {{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}