Commit 9e36364a authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Vincent Pelletier

include sitemap xml for all available languages of the web site.

parent f8c9dcd7
...@@ -37,11 +37,15 @@ ...@@ -37,11 +37,15 @@
<value> <unicode encoding="cdata"><![CDATA[ <value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="dummy python:context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/plain\');\n <tal:block tal:define="dummy python:context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/plain\');\n
web_site python:context.getWebSiteValue()">\n web_site python:context.getWebSiteValue()"\n
<tal:block tal:condition="python:web_site is not None">\n tal:condition="python:web_site is not None">\n
Sitemap: <tal:block tal:content="python:web_site.absolute_url()"/>/WebSite_viewSiteMapAsXML\n Sitemap: <tal:block tal:content="python:web_site.absolute_url()"/>/WebSite_viewSiteMapAsXML\n
</tal:block>\n <tal:block tal:condition="web_site/isStaticLanguageSelection"\n
</tal:block> tal:repeat="language web_site/getAvailableLanguageList"\n
tal:define="default_language web_site/getDefaultAvailableLanguage">\n
<tal:block tal:condition="python:language != default_language">\n
Sitemap: <tal:block tal:content="python:web_site.absolute_url()"/>/<tal:block tal:content="language" />/WebSite_viewSiteMapAsXML\n
</tal:block></tal:block></tal:block>
]]></unicode> </value> ]]></unicode> </value>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment