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 @@ ...@@ -17,7 +17,8 @@
<loc tal:content="menu_item/url" /> <loc tal:content="menu_item/url" />
</url> </url>
<tal:block metal:define-macro="generateTree"> <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" /> <loc tal:content="item/url" />
</url> </url>
<tal:recurse define="menu_item item" tal:condition="nocall:item/subsection"> <tal:recurse define="menu_item item" tal:condition="nocall:item/subsection">
...@@ -28,5 +29,6 @@ ...@@ -28,5 +29,6 @@
</tal:block> </tal:block>
</tal:block> </tal:block>
</tal:block> </tal:block>
</tal:block>
</urlset> </urlset>
</tal:block> </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