From 70d99a128969e654a7b644d1f683e62cc081cd7f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 17 Jul 2008 08:47:19 -0400 Subject: [PATCH] add a description with the bio in it to HTML head darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz --- actions/showstream.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/actions/showstream.php b/actions/showstream.php index 8980b4de15..277a9212ea 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -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() {