Re: accessing bibliographic fields in the template layout.html
Peter Hoffmann schrieb: 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 Should now work in SVN. cheers, Georg --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sphinx-dev group. To post to this group, send email to sphinx-dev@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: accessing bibliographic fields in the template layout.html
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 sphinx-dev@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: accessing bibliographic fields in the template layout.html
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 sphinx-dev@googlegroups.com 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 -~--~~~~--~~--~--~---