- $action->elementStart('address', 'vcard');
- $action->elementStart('a', array('class' => 'url home bookmark',
- 'href' => common_local_url('public')));
+ $action->elementStart('address');
+ if (common_config('singleuser', 'enabled')) {
+ $user = User::singleUser();
+ $url = common_local_url('showstream', array('nickname' => $user->getNickname()));
+ } else {
+ $url = common_local_url('public');
+ }
+
+ $action->elementStart('a', array('class' => 'h-card home bookmark',
+ 'href' => $url));
+