diff --git a/mod/xrd.php b/mod/xrd.php
index 7cfb643df..dfb188c13 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -54,6 +54,7 @@ function xrd_init(&$a) {
'$dspr' => $dspr,
'$salmon' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'],
'$salmen' => $a->get_baseurl() . '/salmon/' . $r[0]['nickname'] . '/mention',
+ '$subscribe' => $a->get_baseurl() . '/follow?url={uri}',
'$modexp' => 'data:application/magic-public-key,' . $salmon_key,
'$bigkey' => salmon_key($r[0]['pubkey'])
));
diff --git a/view/templates/xrd_person.tpl b/view/templates/xrd_person.tpl
index c5c6f538c..f3ac0332b 100644
--- a/view/templates/xrd_person.tpl
+++ b/view/templates/xrd_person.tpl
@@ -29,6 +29,8 @@
href="{{$salmon}}" />
+