Commit f2d15a98 authored by Kevin Deldycke's avatar Kevin Deldycke

Get Id if no title found

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8705 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d0619751
...@@ -121,7 +121,7 @@ for section in site_root.WebSite_getMainSectionList():\n ...@@ -121,7 +121,7 @@ for section in site_root.WebSite_getMainSectionList():\n
if include_site:\n if include_site:\n
# Add the most upper object: the website site itself\n # Add the most upper object: the website site itself\n
site_map = {\n site_map = {\n
\'title\' : "%s - Home" % (site_root.getTitle())\n \'title\' : "%s - Home" % (site_root.getTitleOrId())\n
, \'link\' : site_root.absolute_url()\n , \'link\' : site_root.absolute_url()\n
, \'object\' : site_root\n , \'object\' : site_root\n
, \'sub-content\' : site_content\n , \'sub-content\' : site_content\n
......
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