index indieauth hint
authorChristian Weiske <cweiske@cweiske.de>
Thu, 4 Aug 2016 21:22:22 +0000 (23:22 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 4 Aug 2016 21:22:22 +0000 (23:22 +0200)
data/templates/index.htm
www/css/index.css [new file with mode: 0644]

index 865a9890dd1b9cbffaa4353b8c5eb2e4342f0eff..c3d894687a3180b0d21c52a1f97b913a218aa579 100644 (file)
@@ -4,11 +4,24 @@
   <link rel="authorization_endpoint" href="{{baseurl}}auth.php"/>
   <link rel="token_endpoint" href="{{baseurl}}token.php"/>
   <link rel="micropub" href="{{baseurl}}micropub.php"/>
   <link rel="authorization_endpoint" href="{{baseurl}}auth.php"/>
   <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"/>
  </head>
  <body>
   <h1>{{title}}</h1>
   <p>
    Anonymous web comments for the indieweb.
   </p>
  </head>
  <body>
   <h1>{{title}}</h1>
   <p>
    Anonymous web comments for the indieweb.
   </p>
+
+
+  <h2>IndieAuth endpoint</h2>
+  <p>
+   This is an anonymous authentication and authorization
+   endpoint for the IndieAuth protocol.
+  </p>
+  <p>
+   When asked about your website on an IndieAuth login screen,
+   simply type:
+  </p>
+  <pre>{{baseurl}}</pre>
  </body>
 </html>
  </body>
 </html>
diff --git a/www/css/index.css b/www/css/index.css
new file mode 100644 (file)
index 0000000..0121164
--- /dev/null
@@ -0,0 +1,12 @@
+body {
+    max-width: 60ex;
+    margin-left: auto;
+    margin-right: auto;
+    background-color: #EEE;
+}
+
+pre {
+    background-color: #DDD;
+    padding: 2ex;
+    border-radius: 1ex;
+}
\ No newline at end of file