fallback to document id in case of missing title
This commit is contained in:
parent
3ac159adf4
commit
1140b2a24e
|
@ -122,7 +122,7 @@
|
|||
<ul>
|
||||
<tal:entry tal:repeat="page page_batch">
|
||||
<li tal:define="oddrow repeat/page/odd;" tal:attributes="class python: oddrow and 'odd' or 'even'"><div>
|
||||
<h4><a href="#" tal:attributes="href page/getURL" tal:content="page/Title">Communiqué de presse</a></h4>
|
||||
<h4><a href="#" tal:attributes="href page/getURL" tal:content="python: page.Title or page.id">Communiqué de presse</a></h4>
|
||||
<p tal:content="page/Description">bla</p>
|
||||
</div></li>
|
||||
</tal:entry>
|
||||
|
|
Reference in New Issue