diff options
author | David A. Madore <david+git@madore.org> | 2023-11-01 14:45:36 +0100 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2023-11-01 14:45:36 +0100 |
commit | 903c1c312ad7f0093b19942d939e977cef733b48 (patch) | |
tree | 7a85b89fac6a425f7f93b5bbea6fc4a02f39ae91 | |
parent | e5402a641eaa3169cc77a321c9e456aade712621 (diff) | |
download | damlengine-903c1c312ad7f0093b19942d939e977cef733b48.tar.gz damlengine-903c1c312ad7f0093b19942d939e977cef733b48.tar.bz2 damlengine-903c1c312ad7f0093b19942d939e977cef733b48.zip |
Add Bluesky account link in footer, and uniformize rel="me".
-rw-r--r-- | org/madore/damlengine/TodoFooter.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java index e5751c5..9cb7742 100644 --- a/org/madore/damlengine/TodoFooter.java +++ b/org/madore/damlengine/TodoFooter.java @@ -62,11 +62,17 @@ public final class TodoFooter extends TodoElement { addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "https://twitter.com/gro_tsen"); - a.setAttributeNS(null, "rel", "author"); + a.setAttributeNS(null, "rel", "me"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("Twitter")); addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); + a.setAttributeNS(null, "href", "https://bsky.app/profile/gro-tsen.bsky.social"); + a.setAttributeNS(null, "rel", "me"); + addr.appendChild(a); + a.appendChild(ctx.doc.createTextNode("Bluesky")); + addr.appendChild(ctx.doc.createTextNode("|")); + a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "https://mastodon.sdf.org/@gro_tsen_test"); a.setAttributeNS(null, "rel", "me"); addr.appendChild(a); @@ -74,7 +80,7 @@ public final class TodoFooter extends TodoElement { addr.appendChild(ctx.doc.createTextNode("|")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); a.setAttributeNS(null, "href", "http://www.facebook.com/grotsen"); - a.setAttributeNS(null, "rel", "author"); + a.setAttributeNS(null, "rel", "me"); addr.appendChild(a); a.appendChild(ctx.doc.createTextNode("Facebook")); addr.appendChild(ctx.doc.createTextNode(")")); |