[pmwiki-users] Insert meta tag in <head>

Patrick R. Michaud pmichaud at pobox.com
Thu Feb 11 08:24:38 CST 2016


On Wed, Feb 10, 2016 at 07:34:35PM +0100, Thomas Lundgren wrote:
> I´ve made a cookbook from where I will share the page to Facebook. To be
> more sure that Facebook grabs the page correct Facebook "require" some meta
> tags in the <head>-part of the html-page.
> 
> How do I - from a cookbook insert meta tags into the <head>-part? Do I in
> some way have to alter the skin? How?

See the $HTMLHeaderFmt variable.  
http://www.pmwiki.org/wiki/PmWiki/LayoutVariables#HTMLHeaderFmt

This allows a recipe to insert custom tags in the <head>...</head> section of the output.

Pm



More information about the pmwiki-users mailing list