Link latest.php
[anoweco.git] / data / templates / index.htm
index c3d894687a3180b0d21c52a1f97b913a218aa579..3d20c28921b5cd9c435586495ba30a2f9f197be2 100644 (file)
@@ -1,3 +1,4 @@
+<!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
  <head>
   <title>{{title}}</title>
@@ -5,6 +6,8 @@
   <link rel="token_endpoint" href="{{baseurl}}token.php"/>
   <link rel="micropub" href="{{baseurl}}micropub.php"/>
   <link rel="stylesheet" type="text/css" href="css/index.css"/>
+  <meta name="generator" content="anoweco"/>
+  <link rel="vcs-git" href="https://github.com/cweiske/anoweco"/>
  </head>
  <body>
   <h1>{{title}}</h1>
   </p>
 
 
+  <h2>Write a comment</h2>
+  <p>
+   Write a reply to a blog post:
+  </p>
+  <form method="get" action="https://quill.p3k.io/">
+   <input type="hidden" name="dontask" value="1"/>
+   <input type="hidden" name="me" value="{{baseurl}}"/>
+   <label>
+    URL:
+    <input type="url" name="reply" size="30"
+           placeholder="http://example.org/blogpost.htm"/>
+   </label>
+   <button type="submit">Write a comment</button>
+  </form>
+
+
   <h2>IndieAuth endpoint</h2>
   <p>
    This is an anonymous authentication and authorization
    simply type:
   </p>
   <pre>{{baseurl}}</pre>
+
+
+  <h2>Misc</h2>
+  <p>
+   anoweco is <a href="https://github.com/cweiske/anoweco">open source</a>.
+   You may view the
+   <a href="latest.php">latest posts</a>.
+  </p>
  </body>
 </html>