From d15180e9dcd540d5850fa0319a7614620075eaea Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 23 May 2019 01:07:29 -0400 Subject: index page layout tweaks --- assets/tmpl/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'assets/tmpl') diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html index a8f7484..56fdf96 100644 --- a/assets/tmpl/index.html +++ b/assets/tmpl/index.html @@ -15,6 +15,12 @@
twtxt registry
+
+ Instance Owner:
+ {{.Owner}}
+ Mail:
+ {{.Mail}}
+

{{.Desc}}

API base URL:

@@ -51,10 +57,6 @@ foo_barrington https://example3.com/twtxt.txt 2018-11-21T18:31:00.000Z

Add new user by submitting a POST request. If both variables are not used, or the user already exists in this registry, the server will respond with 400 Bad Request

$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
 200 OK
-
-
- Instance Owner: {{.Owner}}
- Mail: {{.Mail}}