WWW-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: wikisrc

On Wed, Aug 8, 2012 at 6:27 PM, Jean-Yves Migeon <jym%netbsd.org@localhost> 
> Module Name:    wikisrc
> Committed By:   jym
> Date:           Wed Aug  8 22:27:45 UTC 2012
> Modified Files:
>         wikisrc: local.css
>         wikisrc/templates: page.tmpl
> Log Message:
> Update the wiki template to reflect the new navBar:
> - clean-up local.css and add a link to the global.css from www.n.o
> - add new navBar
> - replace the top header with a HTML one

I've just found out that the changes to the header in page.tmpl are
problematic.  This change turned the title and logo into h1 and h2
elements; and this, in turn, rightfully confuses ikiwiki's toc element
to include these in any generated toc unconditionally... which is
obviously not the desired effect.

Conceptually, a title is not a heading (or otherwise all pages would
have one, and only one, h1!), and as such the markup needs fixing.
Note that this holds true for all word processors: the "title" style
is separate from the different heading N levels, so that the former
never appears in a table of contents.

Could you please take a look?

Julio Merino / @jmmv

Home | Main Index | Thread Index | Old Index