Skip to content

Commit 192106f

Browse files
committed
fix: add content about rel=me to webmentions article
1 parent a765713 commit 192106f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

thoughts/articles/2021-03-21_Webmentions-are-Fun.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ Ok, with that gushing out the way, we're going to use [webmention.io](https://we
2222

2323
To get started accepting webmentions with .io, we've got to let it know we are responsible for that site. So you need to do two things.
2424

25-
Firstly, ensure that your website is on the profile of one of the sign on mechanisms they support, so for me that was Twitter or GitHub. Now when you enter your website into the sign in page of .io, it'll ask you to sign in using one of those platforms - noice.
25+
Firstly, ensure that your website is on the profile of one of the sign on mechanisms they support, so for me that was Twitter or GitHub. Then you need to add `rel="me"` to a link to that profile on your website, for example:
26+
27+
```html
28+
<!-- HTML -->
29+
30+
<a href="https://github.com/your_gh_username" rel="me">GitHub</a>
31+
<a href="https://www.twitter.com/your_twitter_handle" rel="me">Twitter</a>
32+
```
33+
34+
Now when you enter your website into the sign in page of .io, it'll ask you to sign in using one of those platforms - noice.
2635

2736
Now you need to add some tags to your `<head>` so .io knows you want to use it:
2837

0 commit comments

Comments
 (0)