On Tue, Feb 26, 2008 at 6:44 PM, Thomas Leitner <t_leitner at gmx.at>
wrote:> Am Tue, 26 Feb 2008 11:04:19 +0000
> schrieb "Marc Argent" <marc.argent at queens.ox.ac.uk>:
>
>
>
> > I am producing my new website with webgen and have happened upon
> > something that I can''t quite understand.
> >
> > I have a template for the content pages of my website, but would like
> > the home page to have a different one. Is there any way of have a
> > template just for this page without it nesting?
>
> Yes, that''s definitely possible. Just use the template meta
information
> in your home page. If your home page is called home.page, it should
> look something like this:
>
> ---
> title: Home Page
> template: homepage.template
> inMenu: true
> ---
> This is my homepage.
>
>
> And the template ''homepage.template'' would need to look
like this:
>
> ---
> template: ~
> ---
> Here goes the template content.
>
>
> Notice the two ''template'' metainfo keys: the one in
home.page is used
> to tell webgen that this page is rendered in the template
> ''homepage.template''. A the one in
''homepage.template'' says that the
> default.template file should not be used - meaning that the template
> chain stops here.
>
> So webgen would see the following rendering chain for
''home.page'':
>
> homepage.template -> home.page
>
> *hth*, regards,
> Thomas
> _______________________________________________
> webgen-users mailing list
> webgen-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/webgen-users
>
Dear Thomas,
Many thanks, this is exactly what I''ve been looking for. Look out for
our new webgen produced website (http://www.queens.ox.ac.uk) in the
next few weeks.
Thanks for the great software.
Best wishes,
Marc Argent