diff options
| author | 2021-06-23 16:35:57 +0200 | |
|---|---|---|
| committer | 2021-06-23 16:35:57 +0200 | |
| commit | 8c9a8533434ec6e159541896d5f43e39303d42e4 (patch) | |
| tree | 3da3cbf9aa33a160cd076f2b9f8d56396ae3bdfa /web/template/index.tmpl | |
| parent | Opengraph meta tags (#55) (diff) | |
| download | gotosocial-8c9a8533434ec6e159541896d5f43e39303d42e4.tar.xz | |
Instance settings updates (#59)
Allow admins to set instance settings through a PATCH to /api/v1/instance
Update templates to reflect some of the new fields
Diffstat (limited to 'web/template/index.tmpl')
| -rw-r--r-- | web/template/index.tmpl | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/web/template/index.tmpl b/web/template/index.tmpl index 8d431b8d3..ba48e92ec 100644 --- a/web/template/index.tmpl +++ b/web/template/index.tmpl @@ -3,24 +3,19 @@ <img src="/assets/sloth.png" alt="Clipart styled sloth logo"> </aside> <section> - <!-- <h1>Home to <span class="count">{ {.instance.Stats.UserCount}}</span> users - who posted <span class="count">{ {.instance.Stats.StatusCount}}</span> statuses, - federating with <span class="count">{ {.instance.Stats.DomainCount}}</span> other instances.</h1> --> - <h1>Home to <span class="count">3</span> users - who posted <span class="count">42069</span> statuses, - federating with <span class="count">9001</span> other instances.</h1> + <h1>Home to <span class="count">{{.instance.Stats.user_count}}</span> users + who posted <span class="count">{{.instance.Stats.status_count}}</span> statuses, + federating with <span class="count">{{.instance.Stats.domain_count}}</span> other instances.</h1> <h3>This is the default landing page, you can edit it from <span class="accent">./web/template/index.tmpl</span></h1> - <ul> - <li>Some explanation about the instance (description) with instance header and profile images.</li> - <li>Instructions for registering.</li> - <li>Etc.</li> - </ul> + <p> + {{.instance.ShortDescription}} + </p> </section> <section class="apps"> <p> - GoToSocial does not provide it's own frontend, but implements the Mastodon client API. + GoToSocial does not provide its own frontend, but implements the Mastodon client API. You can use this server through a variety of clients: </p> <div class="applist"> |
