summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2023-02-19 10:13:08 +0100
committerDavid A. Madore <david+git@madore.org>2023-02-19 10:13:08 +0100
commit480e4bf4cc0ad1c207d6d39864159c12e4cb59db (patch)
treef6016741f1fc766184a2a58358eb82fa366ce7a5 /org/madore/damlengine
parentc8702ef356664f534bbdddedac489fe5aff5b918 (diff)
downloaddamlengine-480e4bf4cc0ad1c207d6d39864159c12e4cb59db.tar.gz
damlengine-480e4bf4cc0ad1c207d6d39864159c12e4cb59db.tar.bz2
damlengine-480e4bf4cc0ad1c207d6d39864159c12e4cb59db.zip
Add Mastodon temp account link in footer.
Using rel="me" as required by Mastodon verification, but other links use rel="author" here: how can I uniformize this?
Diffstat (limited to 'org/madore/damlengine')
-rw-r--r--org/madore/damlengine/TodoFooter.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org/madore/damlengine/TodoFooter.java b/org/madore/damlengine/TodoFooter.java
index 90d4f5f..e5751c5 100644
--- a/org/madore/damlengine/TodoFooter.java
+++ b/org/madore/damlengine/TodoFooter.java
@@ -67,6 +67,12 @@ public final class TodoFooter extends TodoElement {
a.appendChild(ctx.doc.createTextNode("Twitter"));
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);
+ a.appendChild(ctx.doc.createTextNode("Mastodon (test)"));
+ 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");
addr.appendChild(a);