main
Bob Mottram 2021-05-12 16:52:07 +01:00
parent b979ebc7a8
commit f54d8c226c
1 changed files with 6 additions and 6 deletions

View File

@ -736,13 +736,13 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
personMarkup = \ personMarkup = \
' <script type="application/ld+json">\n' + \ ' <script type="application/ld+json">\n' + \
' {\n' + \ ' {\n' + \
' "@context" : "http://schema.org",' + \ ' "@context" : "http://schema.org",\n' + \
' "@type" : "Person",' + \ ' "@type" : "Person",\n' + \
' "name": "' + actorJson['name'] + '",' + \ ' "name": "' + actorJson['name'] + '",\n' + \
' "image": "' + actorJson['icon']['url'] + '",' + \ ' "image": "' + actorJson['icon']['url'] + '",\n' + \
' "description": "' + actorJson['summary'] + '",' + \ ' "description": "' + actorJson['summary'] + '",\n' + \
skillsMarkup + \ skillsMarkup + \
' "url": "' + actorJson['id'] + '"' + \ ' "url": "' + actorJson['id'] + '"\n' + \
' }\n' + \ ' }\n' + \
' </script>\n' ' </script>\n'
htmlStr = htmlStr.replace('<head>\n', '<head>\n' + personMarkup) htmlStr = htmlStr.replace('<head>\n', '<head>\n' + personMarkup)