Skip to content

Commit e9ce01e

Browse files
Change rel from nofollow to nofollow ugc
Fixes #12
1 parent dea7321 commit e9ce01e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/webmention.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ A more detailed example:
125125
? r.author.name
126126
: r.url.split('/')[2]);
127127
var response = reactTitle[r['wm-property']] || 'reacted';
128-
var html = '<a class="reaction" rel="nofollow" title="' + who + ' ' +
128+
var html = '<a class="reaction" rel="nofollow ugc" title="' + who + ' ' +
129129
response + '" href="' + r[mentionSource] + '">';
130130
if (r.author && r.author.photo) {
131131
html += '<img src="' + entities(r.author.photo) + '">';
@@ -170,7 +170,7 @@ A more detailed example:
170170

171171
html += reactImage(c);
172172

173-
html += ' <a class="source" rel="nofollow" href="' +
173+
html += ' <a class="source" rel="nofollow ugc" href="' +
174174
c[mentionSource] + '">';
175175
if (c.author && c.author.name) {
176176
html += entities(c.author.name);

0 commit comments

Comments
 (0)