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