Main entity for schema validation

main
Bob Mottram 2021-05-17 12:42:42 +01:00
parent f7645a8853
commit 1a19735e70
1 changed files with 4 additions and 0 deletions

View File

@ -762,6 +762,8 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup += ' "name": "' + roleName + '",\n'
skillsMarkup += ' "description": ' + \
'"Fediverse instance role",\n'
skillsMarkup += ' "mainEntityOfPage": "' + \
actorJson['id'] + '",\n'
skillsMarkup += ' "occupationLocation": {\n'
skillsMarkup += \
' "@type": "City",\n'
@ -804,6 +806,8 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
skillsMarkup += ' "name": "' + ocName + '",\n'
skillsMarkup += ' "description": ' + \
'"Fediverse instance occupation",\n'
skillsMarkup += ' "mainEntityOfPage": "' + \
actorJson['id'] + '",\n'
skillsMarkup += ' "occupationLocation": {\n'
skillsMarkup += ' "@type": "City",\n'
skillsMarkup += \