1
0

Bug Fix: Display meta tags on item _and_ tag pages.

This commit is contained in:
rWatcher 2011-06-07 14:06:38 -04:00
parent 44e74e7321
commit b29d7ad81f
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ class metadescription_theme_Core {
// Load the meta tags into the top of the page.
// @todo: metadescription_block.html requires an item so for now, don't render it unless we
// have one.
if ($theme->item()) {
if ($theme->item() || $theme->tag()) {
$metaView = new View("metadescription_block.html");
$metaView->tags = $tagsItem;
return $metaView;

View File

@ -42,7 +42,7 @@ class metadescription_theme_Core {
// Load the meta tags into the top of the page.
// @todo: metadescription_block.html requires an item so for now, don't render it unless we
// have one.
if ($theme->item()) {
if ($theme->item() || $theme->tag()) {
$metaView = new View("metadescription_block.html");
$metaView->tags = $tagsItem;
return $metaView;