This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] title on website toc?


Steinar Bang <sb@dod.no> writes:

> Is it possible to have the content of the <title> element of the
> website document that's used as the <toc>, rendered inside an <h1> at
> the top of the page?
>
> This is what happens on the other pages, but not on the home page. 
>
> I can get something a bit like this, by wrapping the body of the main
> page in a <section> and using a <title> in the section.  But:
>  1. I have to write the title twice, like in a plain HTML page
>  2. The title is rendered in <h2> instead of <h1> which makes it
>     smaller than the titles on the other pages

In my website.xml file, I got this:

<webpage id="home">
  <config param="desc" value="Ressource-Toi.Org - Page d'accueil"/>
  <config param="rcsdate" value="$Date: 2004/02/18 10:31:14 $"/>
  <head>
    <title>Accueil</title>
    <summary>Introduction</summary>
  </head>

It works for me (2.5.0).

Cheers,

-- 
Arnaud

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]