Occupation location list

main
Bob Mottram 2021-05-17 10:48:54 +01:00
parent e1c26fb19b
commit d71c2b5d21
1 changed files with 4 additions and 4 deletions

View File

@ -743,12 +743,12 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup += ' "hasOccupation": {\n'
skillsMarkup += ' "@type": "Occupation",\n'
skillsMarkup += ' "name": "' + roleName + '",\n'
skillsMarkup += ' "occupationLocation": {\n'
skillsMarkup += ' "occupationLocation": [{\n'
skillsMarkup += \
' "@type": "VirtualLocation",\n'
skillsMarkup += \
' "url": "' + actorDomain + '"\n'
skillsMarkup += ' },\n'
skillsMarkup += ' }],\n'
skillsMarkup += ' "occupationalCategory": {\n'
skillsMarkup += ' "@type": "CategoryCode",\n'
skillsMarkup += ' "inCodeSet": {\n'
@ -783,11 +783,11 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup += ' {\n'
skillsMarkup += ' "@type": "Occupation",\n'
skillsMarkup += ' "name": "' + ocName + '",\n'
skillsMarkup += ' "occupationLocation": {\n'
skillsMarkup += ' "occupationLocation": [{\n'
skillsMarkup += ' "@type": "VirtualLocation",\n'
skillsMarkup += \
' "url": "' + actorDomain + '"\n'
skillsMarkup += ' },\n'
skillsMarkup += ' }],\n'
skillsMarkup += \
' "skills": ' + skillsListStr + '\n'
skillsMarkup += ' }'