[pmwiki-users]SEO: Avoiding Headings in the SideBar

H. Fox haganfox at gmail.com
Mon Aug 15 19:05:02 CDT 2005


On 8/15/05, Hans <design at flutesong.fsnet.co.uk> wrote:
> One could create markup do do this translation, but we cannot have
> markup which only translates this if it is in the sidebar, since the
> sidebar is treated just like any page.

Oh.  I was thinking you could do something like

    if ($Name == 'SideBar') {
      Markup([...]);
    }

> So it does not really serve
> your purpose. Best scenario is to encourage use of a special sidebar
> heading style.
> 
> %h1%, %h2%, %h3% and >>h1<<, >>h2<<, >>h3<< ?? %hdr% ??
> Is one sidebar heading style enough, or better up to three different
> ones?
> 
> Pm wants these styles to be more sidebar specific in the naming, but I
> don't see a reason, since we still need to use special css styling.

Right.  No matter what the class is called, CSS style will only affect
the sidebar.  The only potential conflict I can think of is what
happens when someone defines a wikistyle having the same name.

Hagan




More information about the pmwiki-users mailing list