+
+ $block = (DI::config()->get('system', 'block_public') && !Session::isAuthenticated());
+
+ // check if blocked
+ if ($block) {
+ $keywords = $profile['pub_keywords'] ?? '';
+ $keywords = str_replace([',', ' ', ',,'], [' ', ',', ','], $keywords);
+ if (strlen($keywords)) {
+ $page['htmlhead'] .= '<meta name="keywords" content="' . $keywords . '" />' . "\r\n";
+ }
+ }
+
+ $page['aside'] = Profile::getVCardHtml($profile, $block, false);
+
+ return '';