internal/web/templates/landing.html

0d12684707ba92a7a5dcf9aee6077df1f8c17c9c
gitbay/internal/web/templates/landing.html history · blame · raw

13 lines · 763 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>{{if .Signup}} · new here? <a href="/register">create an account</a>{{end}}</p>{{end}}
12</div>
13{{end}}