[pmwiki-users] how do I add a meta description to pages?

Hans design5 at softflow.co.uk
Thu Aug 14 11:40:51 CDT 2008


Thursday, August 14, 2008, 4:07:40 PM, Derek Lerner wrote:

> It does not seem as if meta descriptions are really working with  
> pmwiki-2.1.27.

This is odd. Both PmWiki 2.1.27 and the latest 2.2.beta have the same
definitions for (:description:) and (:keywords:) directives
(see scripts/stdmarkup.php), so it should really work.

Perhaps check your skin tmpl file, to make sure you got in the <head>
section a
   <!--HTMLHeader-->
tag, the old skins used to have
   <!--HeaderText-->
instead. This was changed in version 2.1.16

PmWiki uses <!--HTMLHeader--> in the template to inject
$HTMLHeaderFmt and $HTMLStylesFmt elements. The (:description:) and
(:keywords:) directives use the former.


  ~Hans




More information about the pmwiki-users mailing list