mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
ab12cbc9b6
commit
7c6a97b3de
|
@ -735,24 +735,25 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
|
|||
sk['occupationalCategory']['codeValue']
|
||||
categoryUrl = \
|
||||
'https://www.onetonline.org/link/summary/"' + category
|
||||
skillsMarkup += '{\n'
|
||||
skillsMarkup += ' "@type": "Role",\n'
|
||||
skillsMarkup += ' "hasOccupation": {\n'
|
||||
skillsMarkup += ' "@type": "Occupation",\n'
|
||||
skillsMarkup += ' "name": ' + roleName + ',\n'
|
||||
skillsMarkup += ' "occupationalCategory": {\n'
|
||||
skillsMarkup += ' "@type": "CategoryCode",\n'
|
||||
skillsMarkup += ' "inCodeSet": {\n'
|
||||
skillsMarkup += ' "@type": "CategoryCodeSet",\n'
|
||||
skillsMarkup += ' "name": "O*Net-SOC",\n'
|
||||
skillsMarkup += ' "dateModified": "2019",\n'
|
||||
skillsMarkup += ' {\n'
|
||||
skillsMarkup += ' "@type": "Role",\n'
|
||||
skillsMarkup += ' "hasOccupation": {\n'
|
||||
skillsMarkup += ' "@type": "Occupation",\n'
|
||||
skillsMarkup += ' "name": ' + roleName + ',\n'
|
||||
skillsMarkup += ' "occupationalCategory": {\n'
|
||||
skillsMarkup += ' "@type": "CategoryCode",\n'
|
||||
skillsMarkup += ' "inCodeSet": {\n'
|
||||
skillsMarkup += ' "@type": "CategoryCodeSet",\n'
|
||||
skillsMarkup += ' "name": "O*Net-SOC",\n'
|
||||
skillsMarkup += ' "dateModified": "2019",\n'
|
||||
skillsMarkup += \
|
||||
' "url": "https://www.onetonline.org/"\n'
|
||||
skillsMarkup += ' },\n'
|
||||
skillsMarkup += ' "codeValue": "' + category + '",\n'
|
||||
skillsMarkup += ' "url": "' + categoryUrl + '"\n'
|
||||
skillsMarkup += ' }\n'
|
||||
skillsMarkup += ' }'
|
||||
' "url": "https://www.onetonline.org/"\n'
|
||||
skillsMarkup += ' },\n'
|
||||
skillsMarkup += ' "codeValue": "' + category + '",\n'
|
||||
skillsMarkup += ' "url": "' + categoryUrl + '"\n'
|
||||
skillsMarkup += ' }\n'
|
||||
skillsMarkup += ' }\n'
|
||||
skillsMarkup += ' }'
|
||||
elif skillDict['@type'] == 'Occupation':
|
||||
if not firstEntry:
|
||||
skillsMarkup += ',\n'
|
||||
|
|
Loading…
Reference in New Issue