Skip to content
Snippets Groups Projects
Commit 890f77e9 authored by Christophe Simonis's avatar Christophe Simonis
Browse files

[FIX] website: fallback on company name for non-website templates

parent bc7aa43a
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@
<t t-set="additional_title" t-value="main_object.name"/>
</t>
<t t-if="not title">
<t t-set="title"><t t-if="additional_title"><t t-raw="additional_title"/> | </t><t t-raw="website.name"/></t>
<t t-set="title"><t t-if="additional_title"><t t-raw="additional_title"/> | </t><t t-esc="(website or res_company).name"/></t>
</t>
<meta name="viewport" content="initial-scale=1"/>
<meta name="description" t-att-content="main_object and 'website_meta_description' in main_object
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment