[pmwiki-users]SEO: Avoiding Headings in the SideBar
Hans
design at flutesong.fsnet.co.uk
Mon Aug 15 19:41:57 CDT 2005
Tuesday, August 16, 2005, 1:26:34 AM, Patrick wrote:
> Markup('^!', 'block',
> '/^(!{1,6})\\s?(.*)$/e',
> "(substr(\$pagename,-8) == '.SideBar') ?
> '<:block><div
> class=\"someclass'.strlen('$1').PSS('\">$2</div>') :
>
> '<:block><h'.strlen('$1').PSS('>$2</h').strlen('$1').'>'");
The sidebar translation to div only happens when the page is a
SideBar, not on normal pages. :(
Best,
~Hans
More information about the pmwiki-users
mailing list