Commit 6884ce80 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

try to find description and keyword from web section like layout properties if...

try to find description and keyword from web section like layout properties if the document does not have them.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28654 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 20393e27
...@@ -97,6 +97,8 @@ ...@@ -97,6 +97,8 @@
subcontent_area python:aggregate.get(\'subcontent\', []);\n subcontent_area python:aggregate.get(\'subcontent\', []);\n
footer_area python:aggregate.get(\'footer\', []);\n footer_area python:aggregate.get(\'footer\', []);\n
global header_title python:\'%s | %s\' % (here.getTitleOrId(), website.getTitleOrId());\n global header_title python:\'%s | %s\' % (here.getTitleOrId(), website.getTitleOrId());\n
global description python:here.getDescription() or here.getLayoutProperty(\'description\');\n
global subject_list python:here.getSubjectList() or here.getLayoutProperty(\'subject_list\');\n
global css_list_template python:[\n global css_list_template python:[\n
\'%s/erp5_web_toolbar.css\' % portal_path,\n \'%s/erp5_web_toolbar.css\' % portal_path,\n
\'%s/mf54_reset.css\' % portal_path,\n \'%s/mf54_reset.css\' % portal_path,\n
......
129 130
\ No newline at end of file \ 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