1
0

Use the item's title for the KEYWORDS tag if the item does not have any tags.

This commit is contained in:
rWatcher 2009-08-02 14:25:12 -04:00
parent e8802e5859
commit 1c2b18a439

View File

@ -11,6 +11,11 @@
}
}
}
// If $metaTags is empty, use the item's title instead.
if ($metaTags == "") {
$metaTags = p::clean($item->title);
}
$metaDescription = "";
$metaDescription = trim(nl2br(p::purify($item->description)));