Use the item's title for the KEYWORDS tag if the item does not have any tags.
This commit is contained in:
parent
e8802e5859
commit
1c2b18a439
|
@ -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)));
|
||||
|
|
Reference in New Issue
Block a user