diff --git a/index.php b/index.php index c72e614..cb07328 100644 --- a/index.php +++ b/index.php @@ -48,16 +48,13 @@ $theme = new themes; } } - $gelato_includes = "\n"; - $gelato_includes .= "\t\n"; - $gelato_includes .= "\turlGelato."/images/favicon.ico\" />\n"; - $gelato_includes .= "\turlGelato.($conf->urlFriendly?"/rss/":"/rss.php")."\"/>\n"; - $gelato_includes .= "\turlGelato."/themes/".$conf->template."/style.css\"/>\n"; - $gelato_includes .= "\turlGelato."/admin/css/lightbox.css\" />\n"; - $gelato_includes .= "\t\n"; - $gelato_includes .= "\t"; - - + $feed_url = $conf->urlGelato.($conf->urlFriendly?"/rss/":"/rss.php"); + $trigger->call('feed_url'); + $theme->set('rssFeed',"\t\n"); + + $gelato_includes = "\n"; + $gelato_includes .= "\turlGelato."/images/favicon.ico\" />"; + $page_title = $conf->title; $page_title_divisor = " » "; // it should be set in configuration $page_title_len = 50; // it should be set in configuration @@ -76,7 +73,7 @@ $theme = new themes; $page_title .= $page_title_divisor.stripslashes($page_title_data); } } - + $trigger->call('gelato_includes'); $theme->set('Gelato_includes',$gelato_includes); $theme->set('Title',$conf->title); diff --git a/themes/tumblr/index.htm b/themes/tumblr/index.htm index 1773d56..2be014e 100644 --- a/themes/tumblr/index.htm +++ b/themes/tumblr/index.htm @@ -1,8 +1,13 @@ -
- {Gelato_includes} + + + {Gelato_includes} + + + +