diff --git a/core/page.class.php b/core/page.class.php index ae083bd2..4aeb5ad0 100644 --- a/core/page.class.php +++ b/core/page.class.php @@ -274,7 +274,7 @@ class Page { * * TODO: This should really be configurable somehow... */ - protected function add_auto_html_headers() { + public function add_auto_html_headers() { global $config; $data_href = get_base_href(); diff --git a/ext/home/theme.php b/ext/home/theme.php index f01e7ebe..e34b8ca4 100644 --- a/ext/home/theme.php +++ b/ext/home/theme.php @@ -3,13 +3,16 @@ class HomeTheme extends Themelet { public function display_page(Page $page, $sitename, $base_href, $theme_name, $body) { $page->set_mode("data"); + $hh = ""; + $page->add_auto_html_headers(); + foreach($page->html_headers as $h) {$hh .= $h;} $page->set_data(<< $sitename - + $hh