[FIX] website_hr_recruitment : enhance the job postings on google search

Desired behavior after PR is merged:
Enhancing the job posting with an XML tag for the title of the position so it can be used for the google rich search.

opw-3713519

closes odoo/odoo#153682

Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
This commit is contained in:
Youssef Bashandy
2024-02-14 18:32:09 +00:00
parent e6097043b9
commit e7a82c7049
@@ -120,6 +120,7 @@
<div itemscope="itemscope" itemtype="https://schema.org/JobPosting">
<meta t-if="job.contract_type_id" itemprop="employmentType" t-att-content="job.contract_type_id.sudo().name"/>
<meta t-if="job.published_date" itemprop="datePosted" t-att-content="job.published_date"/>
<meta itemprop="title" t-att-content="job.name"/>
<meta itemprop="directApply" content="true"/>
<span itemprop="hiringOrganization" itemscope="itemscope" itemtype="https://schema.org/Organization">
<meta itemprop="name" t-att-content="job.company_id.name"/>