{{$cloneLink := $.CloneButtonOriginLink}} {{$downloadArchiveLinkPrefix := $.DownloadArchiveLinkPrefix}} {{$openWithEditorApps := $.OpenWithEditorApps}} {{$showCloneLinks := or $cloneLink.SupportHTTPS $cloneLink.SupportSSH}} {{$showOpenWithEditorApps := and $showCloneLinks $openWithEditorApps}}{{/* the editor apps need the clone link */}} {{if or $showCloneLinks $showOpenWithEditorApps $downloadArchiveLinkPrefix}}