Commit a9d34aa8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

erp5_web: fix wrong XML structure for subsections in WebSite_viewSiteMapAsXML.

parent 587f75dc
......@@ -19,10 +19,10 @@
<tal:block metal:define-macro="generateTree">
<url tal:repeat="item menu_item/subsection">
<loc tal:content="item/url" />
</url>
<tal:recurse define="menu_item item" tal:condition="nocall:item/subsection">
<metal:call use-macro="here/WebSite_viewSiteMapAsXML/macros/generateTree" />
</tal:recurse>
</url>
</tal:block>
</tal:block>
</tal:block>
......
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