mirror of https://gitlab.com/bashrc2/epicyon
Newlines
parent
b979ebc7a8
commit
f54d8c226c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue