use head_add_link() for feed discovery

This commit is contained in:
zotlabs
2017-02-21 18:58:51 -08:00
parent bbacfbdd6a
commit 6644dc4861
7 changed files with 45 additions and 33 deletions

View File

@@ -33,9 +33,7 @@ class Chat extends \Zotlabs\Web\Controller {
$which = $channel['channel_address'];
$profile = argv(1);
}
\App::$page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . z_root() . '/feed/' . $which .'" />' . "\r\n" ;
// Run profile_load() here to make sure the theme is set before
// we start loading content