summary refs log tree commit diff stats
path: root/assets/tmpl
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-19 03:02:35 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-19 03:02:35 -0400
commit0f645e7fa9187eadbbbf12941e2902cbb8b6af41 (patch)
tree089d2b13ac11b8dfe3eb8cf0e200aaa5337dab5e /assets/tmpl
parent1d0042985faf96f3afd9c26fadc719777cb681c3 (diff)
downloadgetwtxt-0f645e7fa9187eadbbbf12941e2902cbb8b6af41.tar.gz
updated template and adjusted styling
Diffstat (limited to 'assets/tmpl')
-rw-r--r--assets/tmpl/index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/assets/tmpl/index.html b/assets/tmpl/index.html
index e702d08..a1fe1ab 100644
--- a/assets/tmpl/index.html
+++ b/assets/tmpl/index.html
@@ -27,29 +27,29 @@
 /api/plain/tweets
 /api/plain/tags</code></pre>
   <p>Query by user:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/users?q=foo'
+        <pre><code>$ curl '{{.URL}}/api/plain/users?q=foo'
 foo               https://example.com/twtxt.txt     2019-05-09T08:42:23.000Z
 foobar            https://example2.com/twtxt.txt    2019-03-14T19:23:00.000Z
 foo_barrington    https://example3.com/twtxt.txt    2019-05-01T15:59:39.000Z</code></pre>
           <p>Query by tweet content:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tweets?q=getwtxt'
+        <pre><code>$ curl '{{.URL}}/api/plain/tweets?q=getwtxt'
 foo_barrington    https://example3.com/twtxt.txt    2019-04-30T06:00:09.000Z    I just built getwtxt, time to set it up!</code></pre>
           <p>Query by mention:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/mentions?url=https://foobarrington.co.uk/twtxt.txt'
+        <pre><code>$ curl '{{.URL}}/api/plain/mentions?url=https://foobarrington.co.uk/twtxt.txt'
 foo    https://example.com/twtxt.txt    2019-02-26T11:06:44.000Z    @<foo_barrington https://example3.com/twtxt.txt> Hey!! Are you still working on that project?</code></pre>
           <p>Query by tag:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tags/programming'
+        <pre><code>$ curl '{{.URL}}/api/plain/tags/programming'
 foo    https://example.com/twtxt.txt    2019-03-01T09:31:02.000Z    I love #programming!</code></pre>
           <p>Get latest 20 tweets:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/tweets'
+        <pre><code>$ curl '{{.URL}}/api/plain/tweets'
 foobar    https://example2.com/twtxt.txt    2019-05-13T12:46:20.000Z    It's been a busy day at work!
 ...</code></pre>
           <p>Get all users:</p>
-        <pre><code>$ curl 'https://getwtxt.example.com/api/plain/users'
+        <pre><code>$ curl '{{.URL}}/api/plain/users'
 foo_barrington    https://example3.com/twtxt.txt    2018-11-21T18:31:00.000Z
 ...</code></pre>
           <p>Add new user:</p>
-        <pre><code>$ curl -X POST 'https://getwtxt.example.com/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
+        <pre><code>$ curl -X POST '{{.URL}}/api/plain/users?url=https://example3.com/twtxt.txt&nickname=foo_barrington'
 OK</code></pre>
     </div>
     <div id="info">
286ca5a4 ^
88be3dbc ^
d672cdfc ^
bc643692 ^
286ca5a4 ^
d672cdfc ^
57699011 ^
d672cdfc ^
ac0e9db5 ^
5b567348 ^
1fbebe73 ^
7f402c85 ^
1fbebe73 ^


6d2b1168 ^


1fbebe73 ^







7f402c85 ^
986eebff ^


ab6ed192 ^
b9011f34 ^
986eebff ^
7da71d03 ^
286ca5a4 ^

986eebff ^


286ca5a4 ^

363be37f ^
3076bab4 ^
e4630643 ^
286ca5a4 ^
e4630643 ^

3ba63579 ^
e4630643 ^
286ca5a4 ^
e4630643 ^

827898fc ^
35064671 ^
986eebff ^



286ca5a4 ^
ac0e9db5 ^

b9011f34 ^
286ca5a4 ^
05d17773 ^
986eebff ^
286ca5a4 ^
b9011f34 ^
05d17773 ^
986eebff ^


5e938dc1 ^
7284d503 ^
88be3dbc ^
5e938dc1 ^
bc643692 ^


286ca5a4 ^
5e938dc1 ^
57699011 ^
5e938dc1 ^
286ca5a4 ^
b9011f34 ^
bc643692 ^


286ca5a4 ^
b9011f34 ^
57699011 ^
b9011f34 ^
f1a3be1c ^

5e938dc1 ^
88be3dbc ^
db5c9550 ^
5e938dc1 ^
bc643692 ^


286ca5a4 ^
5e938dc1 ^
d7494165 ^
5e938dc1 ^
f1a3be1c ^

c51043ab ^
7002b921 ^



















d619db37 ^











1fad5eef ^

d619db37 ^
1fad5eef ^













c51043ab ^
1fad5eef ^
c51043ab ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175