Commit 7c14dad3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! erp5_web: fix wrong XML structure for subsections in WebSite_viewSiteMapAsXML.

parent a9d34aa8
......@@ -17,7 +17,8 @@
<loc tal:content="menu_item/url" />
</url>
<tal:block metal:define-macro="generateTree">
<url tal:repeat="item menu_item/subsection">
<tal:block tal:repeat="item menu_item/subsection">
<url>
<loc tal:content="item/url" />
</url>
<tal:recurse define="menu_item item" tal:condition="nocall:item/subsection">
......@@ -28,5 +29,6 @@
</tal:block>
</tal:block>
</tal:block>
</tal:block>
</urlset>
</tal:block>
\ No newline at end of file
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