Only trigger for items and tags
This commit is contained in:
parent
2a596af25b
commit
dde187e88c
@ -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()) {
|
||||
|
Reference in New Issue
Block a user