{{define "content" -}}
{{if .CurrentUser}}
<div class="row">
<div class="col-md-8">
<h2>Your databases</h2>
</div>
<div class="col-md-4 text-right">
<a href="/create" class="btn btn-primary">{{icon "plus-square"}} Create database</a>
</div>
</div>
{{template "repoList" .Repos}}
{{else}}
<div class="header-extension"></div>
<h2>{{.SiteName}} <span class="text-danger">{{.SiteLabel}}</span></h2>
<p>
dolt.sr.ht hosts <a href="https://www.dolthub.com/">Dolt</a> databases the way
git.sr.ht hosts git repositories: <code>dolt clone</code>, <code>push</code> and
<code>pull</code> over HTTPS, with an integrated web UI for browsing branches,
commits and tables.
</p>
<p>
<a href="{{.LoginURL}}" rel="nofollow">Log in</a> to create and manage
databases.
</p>
{{end}}
{{- end}}