all repos — archive/homestead @ cff6bcc31d59ce9957567cc05c1ed7e364fb40ca

My future indieweb platform

Add rel=me links

Alan Pearce
commit

cff6bcc31d59ce9957567cc05c1ed7e364fb40ca

parent

d01f2aa860b0d5f10dc8e143c4b1b9d420fc8fe0

1 file changed, 8 insertions(+), 1 deletion(-)

changed files
M src/responders.jssrc/responders.js
@@ -76,7 +76,14 @@ href: l.url,
_text: l.text } })), - "body > main": pageElement.outerHTML + "body > main": pageElement.outerHTML, + ".contact-list li": config.author.contact.map(c => ({ + a: { + class: c.url.startsWith("mailto") ? "u-email" : "u-url", + href: c.url, + _text: c.text + } + })) }).outerHTML.trim(); }