1
0

Only trigger for items and tags

This commit is contained in:
Bharat Mediratta 2009-12-24 01:48:27 -08:00
parent 2a596af25b
commit dde187e88c

View File

@ -19,7 +19,7 @@
*/
class polar_rose_theme_Core {
static function head($theme) {
if (module::is_installed("rss")) {
if (module::is_installed("rss") && ($theme->item() || $theme->tag())) {
if ($item = $theme->item()) {
$url = rss::feed_link("gallery/album/{$item->id}");
} else if ($tag = $theme->tag()) {