Skip to content
Snippets Groups Projects
Commit c45c56b1 authored by Tim Wagner's avatar Tim Wagner
Browse files

[TASK] Add salary informatio to job schema

parent 2df9cd91
No related branches found
No related tags found
1 merge request!20[FEATURE] Extended TCAs for Structured Data (SEO)
......@@ -19,6 +19,25 @@
"validThrough": "{f:format.date(date: job.validThrough, format: 'Y-m-d')}",
</f:if>
<f:if condition="{job.salaryCurrency} && {job.baseSalary} > 0">
"baseSalary": {leftBrace}
"@type": "MonetaryAmount",
"currency": "{job.salaryCurrency}",
"value": {leftBrace}
"@type": "QuantitativeValue",
<f:if condition="{job.baseSalary} === {job.maxSalary}">
<f:then>
"value": {job.baseSalary},
</f:then>
<f:else>
"minValue": {job.baseSalary},
"maxValue": {job.maxSalary},
</f:else>
</f:if>
"unitText": "{job.salaryUnit}"
{rightBrace}
{rightBrace},
</f:if>
<f:if condition="{job.telecommutePossible}">
"jobLocationType": "TELECOMMUTE",
......
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