Link latest.php
[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   <meta name="generator" content="anoweco"/>
10   <link rel="vcs-git" href="https://github.com/cweiske/anoweco"/>
11  </head>
12  <body>
13   <h1>{{title}}</h1>
14   <p>
15    Anonymous web comments for the indieweb.
16   </p>
17
18
19   <h2>Write a comment</h2>
20   <p>
21    Write a reply to a blog post:
22   </p>
23   <form method="get" action="https://quill.p3k.io/">
24    <input type="hidden" name="dontask" value="1"/>
25    <input type="hidden" name="me" value="{{baseurl}}"/>
26    <label>
27     URL:
28     <input type="url" name="reply" size="30"
29            placeholder="http://example.org/blogpost.htm"/>
30    </label>
31    <button type="submit">Write a comment</button>
32   </form>
33
34
35   <h2>IndieAuth endpoint</h2>
36   <p>
37    This is an anonymous authentication and authorization
38    endpoint for the IndieAuth protocol.
39   </p>
40   <p>
41    When asked about your website on an IndieAuth login screen,
42    simply type:
43   </p>
44   <pre>{{baseurl}}</pre>
45
46
47   <h2>Misc</h2>
48   <p>
49    anoweco is <a href="https://github.com/cweiske/anoweco">open source</a>.
50    You may view the
51    <a href="latest.php">latest posts</a>.
52   </p>
53  </body>
54 </html>