diff --git a/templates/repo/clone_buttons.tmpl b/templates/repo/clone_buttons.tmpl
index 29d3fe76d784b..60b16cfebf23e 100644
--- a/templates/repo/clone_buttons.tmpl
+++ b/templates/repo/clone_buttons.tmpl
@@ -18,9 +18,18 @@
{{svg "octicon-paste"}}
{{end}}
+{{if $.DisableHTTP}}
+
+{{else}}
+
+{{end}}
{{if not (and $.DisableHTTP $.DisableSSH)}}