OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]