support indieauth-metadata relation on profiles, per spec 20220212
[squeep-indieauth-helper] / test / test-data / communication.js
index a78e718e621fb055074e876cdd1e031b67afa812..409e5eb0942c89312e915800be5b84e826657fef 100644 (file)
@@ -64,5 +64,25 @@ module.exports = {
       </section>
     </main>
   </body>
+</html>`,
+  hCardMetadataHtml: `<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta name="viewport" content="width=device-width,initial-scale=1">
+    <title>Thuza Exists</title>
+    <link rel="indieauth-metadata" href="https://ia.squeep.com/meta">
+    <link rel="canonical" href="https://thuza.ratfeathers.com/">
+  </head>
+  <body>
+    <main>
+      <section>
+      Nothing to share yet, only a profile.
+      </section>
+      <section hidden class="h-card p-author">
+        <img class="u-photo" src="image.png">
+        <a class="p-name u-url" rel="author me" href="">Thuza</a>
+      </section>
+    </main>
+  </body>
 </html>`,
   };