ikiwiki/doc/todo/toc_plugin_to_skip_one_leve...

24 lines
920 B
Plaintext
Raw Normal View History

2007-08-29 17:43:43 +02:00
It would be great if I could to this:
\[[!toc levels=3 skip=1]]
2007-08-29 17:43:43 +02:00
I use h1 for big title on each page, and don't want it in my toc on that page.
That way I could have toc for h2 and h3 and h1 is skipped bacause it is big title for many pages.
2007-08-29 18:38:46 +02:00
> I realize there is a lot of personal preference involved here but before
> another option is added, I wonder why you're using a h1 for a title on
> each page when the page name already appears at the top of each page. And
> if the page name isn't right for the title, you can use
> \[[!meta title="foo"]] to override it. And this purposefully doesn't show
2007-08-29 18:38:46 +02:00
> up in the toc. --[[Joey]]
2007-08-30 15:02:59 +02:00
>> aaaahhh, I made a mistake. U used some other page.tmpl and title was hidden,
2007-08-31 01:46:38 +02:00
>> so I used h1 for it. Thanks, consider this [[closed|done]] :)
2007-08-30 15:02:59 +02:00
2007-08-29 18:38:46 +02:00
P.S. I tried to indent "[[toc..." to make it monospaced but it does not work ?
> It's monospaced here.
2007-08-30 15:02:59 +02:00
2007-08-31 01:46:38 +02:00
>> ehhh, CSS bug on my part :(