Mercurial > hg > MPIWGWeb
changeset 279:572fcceebde8
add main img.jpg url.
author | casties |
---|---|
date | Thu, 05 Mar 2015 19:33:31 +0100 |
parents | 51c43df418fc |
children | 7626731d1abe |
files | zpt/feature/feature_index_xml.zpt |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/zpt/feature/feature_index_xml.zpt Thu Mar 05 19:18:56 2015 +0100 +++ b/zpt/feature/feature_index_xml.zpt Thu Mar 05 19:33:31 2015 +0100 @@ -1,6 +1,7 @@ <?xml version="1.0"?> <feature xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal"> + <id tal:content="here/getId"/> <title> <en tal:content="python:here.getFullTitle(lang='en')"/> <de tal:content="python:here.getFullTitle(lang='de')"/> @@ -19,6 +20,7 @@ </teaser> </frontpage> <mainpage> + <image tal:content="here/img.jpg/absolute_url|nothing"/> <main> <en tal:content="python:getattr(here.en.get('main.pt'), 'source.html')(request, request.response)"/> <de tal:content="python:getattr(here.de.get('main.pt'), 'source.html')(request, request.response)"/>