From 0217eff3414afdceae279d0215186574d86f412f Mon Sep 17 00:00:00 2001 From: "Louis (loco)" Date: Wed, 15 Nov 2023 09:10:22 +0100 Subject: [PATCH] [IMP] website: add a default meta description on website pages The goal of this commit is to add a default meta description on website homepage and "contact us" page in order to improve their SEO and avoid a warning of type `Document does not have a meta description`. Of course, it is still meant to be overridden. Part-of: odoo/odoo#140453 --- addons/website/data/website_data.xml | 2 ++ addons/website/i18n/website.pot | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index 8d0f84e3932..8be6f1eb42f 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -519,12 +519,14 @@ / True + This is the homepage of the website /contactus True True + This is the contact us page of the website diff --git a/addons/website/i18n/website.pot b/addons/website/i18n/website.pot index 1b6fe35a709..95c5438cd8b 100644 --- a/addons/website/i18n/website.pot +++ b/addons/website/i18n/website.pot @@ -11031,6 +11031,16 @@ msgid "" "additional content. This content is a little bit longer." msgstr "" +#. module: website +#: model:ir.ui.view,website_meta_description:website.contactus +msgid "This is the contact us page of the website" +msgstr "" + +#. module: website +#: model:ir.ui.view,website_meta_description:website.homepage +msgid "This is the homepage of the website" +msgstr "" + #. module: website #. odoo-python #: code:addons/website/controllers/form.py:0