summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-17 08:47:19 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-17 08:47:19 -0400
commit70d99a128969e654a7b644d1f683e62cc081cd7f (patch)
treed2be872e3e990f0457862786f9c14b423433c628 /actions/showstream.php
parent3658b49f90ed0e15d1e0c24498b03368edfc63e8 (diff)
add a description with the bio in it to HTML head
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index 8980b4de1..277a9212e 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() {