diff --git a/Resources/Private/Partials/ApplyFormSchema.html b/Resources/Private/Partials/ApplyFormSchema.html index 28593e77c999d34fd29d560a9c6f983f89df5522..caa5ecb4ac363ab5ef9511547901fa499224ab6b 100644 --- a/Resources/Private/Partials/ApplyFormSchema.html +++ b/Resources/Private/Partials/ApplyFormSchema.html @@ -19,12 +19,6 @@ "validThrough": "{f:format.date(date: job.validThrough, format: 'Y-m-d')}", </f:if> - "hiringOrganization": {leftBrace} - "@type": "Organization", - "name": "{job.company.name}", - "sameAs": "<f:uri.page pageUid="1" absolute="TRUE"/>", - "logo": "<f:uri.image src="EXT:project_theme/Resources/Public/Images/logo-inverted.svg" absolute="TRUE"/>" - {rightBrace}, <f:if condition="{job.telecommutePossible}"> "jobLocationType": "TELECOMMUTE", @@ -42,6 +36,16 @@ {rightBrace}, </f:if> + <f:comment><!-- + We need a property that is certainly included to make sure the last property never ends with a comma. + //TODO Use logo and rootPage flexibly so the correct one is always used. + --></f:comment> + "hiringOrganization": {leftBrace} + "@type": "Organization", + "name": "{job.company.name}", + "sameAs": "<f:uri.page pageUid="1" absolute="TRUE"/>", + "logo": "<f:uri.image src="EXT:project_theme/Resources/Public/Images/logo-inverted.svg" absolute="TRUE"/>" + {rightBrace} {rightBrace} </script> </f:alias>