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

@ -12,6 +12,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)));
// If description is empty, use title instead.