From 9f5ff928a0d3f8104a8ec0e883bdf2fb56295c44 Mon Sep 17 00:00:00 2001 From: Xiaowu Zhang <xiaowu.zhang@nexedi.com> Date: Tue, 16 Oct 2018 08:54:12 +0000 Subject: [PATCH] erp5_corporate_identity: only have one h1 tag on the page for seo --- .../erp5_corporate_identity_web/erp5_ci_web_template.zpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_web/erp5_ci_web_template.zpt b/bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_web/erp5_ci_web_template.zpt index 397f19b670..01abfddb02 100644 --- a/bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_web/erp5_ci_web_template.zpt +++ b/bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity_web/erp5_ci_web_template.zpt @@ -84,7 +84,7 @@ <tal:comment replace="nothing">Standard Page Form Content ("simplicity: Form is rendered here")</tal:comment> <tal:block tal:condition="python: not is_front_page"> - <tal:block tal:replace="structure python: here.asEntireHTML()"></tal:block> + <tal:block tal:replace="structure python: here.WebPage_downgradeHeaders(here.asEntireHTML(), 1)"></tal:block> </tal:block> <tal:comment replace="nothing">Special Page Content (Front page, showing all documents related to default document)</tal:comment> <tal:block tal:condition="python: layout_form is not None"> -- 2.30.9