This does not work for me. The metadata dict is not available. Can you
test it with the following document?
===========
Test Document
===========
:date: 2008-10-01
:author: Some User
:copyright: gpl
.. meta::
:description lang=en: A test document, containing at least one
example of each reStructuredText construct.
:dc.keywords: test python
Regards Peter
Georg Brandl schrieb:
> Peter Hoffmann schrieb:
> > Hi,
> >
> > I'd like to add meta information from bibliographic fields[1] to the
> > html head in the template layout.html. Is it possible to access those
> > fields from inside the template? Or is there an other way to include
> > this information like rst2html does?
>
> They should be available in a dict called "metadata" in the template.
>
> Georg
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---