add a description with the bio in it to HTML head
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
This commit is contained in:
parent
3658b49f90
commit
70d99a1289
|
@ -89,6 +89,11 @@ class ShowstreamAction extends StreamAction {
|
|||
common_element('meta', array('http-equiv' => 'X-XRDS-Location',
|
||||
'content' => common_local_url('xrds', array('nickname' =>
|
||||
$user->nickname))));
|
||||
$profile = $user->getProfile();
|
||||
if ($profile->bio) {
|
||||
common_element('meta', array('name' => 'description',
|
||||
'content' => $profile->bio));
|
||||
}
|
||||
}
|
||||
|
||||
function no_such_user() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user