bloat/templates/aboutinstance.tmpl

45 lines
912 B
Cheetah

{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="page-title"> About {{.Instance.Title}} </div>
<div>
<p>
{{.Instance.Description}}
</p>
<p>
<details>
<summary>Logo instance</summary>
<img src="{{.Instance.Thumbnail}}" height="512"></img>
</details>
</p>
</div>
<div class="page-title"> Contact E-mail: {{.Instance.EMail}} </div>
{{if .Instance.Stats}}
<div class="page-title"> Statistics: </div>
<div>
<p>
Domains federated: {{.Instance.Stats.DomainCount}}<br>
Registered users: {{.Instance.Stats.UserCount}}<br>
Statuses writen: {{.Instance.Stats.StatusCount}}<br>
</p>
</div>
{{end}}
<div class="page-title"> Features: </div>
<div>
{{if .Instance.Pleroma}}
{{range .Instance.Pleroma.MetaData.Features}}
{{.}}<br>
{{end}}
{{end}}
</div>
<div class="page-title"> Version: {{.Instance.Version}} </div>
{{template "footer.tmpl"}}
{{end}}