Verify that the authorization header has 2 parts
[anoweco.git] / data / templates / index.htm
1 <html xmlns="http://www.w3.org/1999/xhtml">
2  <head>
3   <title>{{title}}</title>
4   <link rel="authorization_endpoint" href="{{baseurl}}auth.php"/>
5   <link rel="token_endpoint" href="{{baseurl}}token.php"/>
6   <link rel="micropub" href="{{baseurl}}micropub.php"/>
7   <link rel="stylesheet" type="text/css" href="css/index.css"/>
8  </head>
9  <body>
10   <h1>{{title}}</h1>
11   <p>
12    Anonymous web comments for the indieweb.
13   </p>
14
15
16   <h2>Write a comment</h2>
17   <p>
18    Write a reply to a blog post:
19   </p>
20   <form method="get" action="https://quill.p3k.io/">
21    <input type="hidden" name="dontask" value="1"/>
22    <input type="hidden" name="me" value="{{baseurl}}"/>
23    <label>
24     URL:
25     <input type="url" name="reply" size="30"
26            placeholder="http://example.org/blogpost.htm"/>
27    </label>
28    <button type="submit">Write a comment</button>
29   </form>
30
31
32   <h2>IndieAuth endpoint</h2>
33   <p>
34    This is an anonymous authentication and authorization
35    endpoint for the IndieAuth protocol.
36   </p>
37   <p>
38    When asked about your website on an IndieAuth login screen,
39    simply type:
40   </p>
41   <pre>{{baseurl}}</pre>
42  </body>
43 </html>