internal/web/templates/landing.html
13 lines · 687 bytes
1{{define "title"}}{{.Site}}{{end}}
2{{define "content"}}
3<div class="landing">
4<h1>{{.Site}}</h1>
5<p class="lede">A CLI-first git forge. SSH is the API: repositories, issues, and
6merge requests are managed from your terminal with nothing but OpenSSH —
7the web is a fast, readable rendering of that state.</p>
8<pre class="quickstart">ssh git@{{.Host}} help # every command, no client needed
9git clone ssh://git@{{.Host}}/owner/repo.git</pre>
10<p><a class="explorelink" href="/explore">explore public repositories →</a></p>
11{{if .Accounts}}<p class="meta">have an account? mint a browser session from your terminal: <code>gitbay web login</code></p>{{end}}
12</div>
13{{end}}