mirror of https://gitlab.com/bashrc2/epicyon
Add role description
parent
4537e96d8a
commit
f7645a8853
1
roles.py
1
roles.py
|
@ -145,6 +145,7 @@ def _setActorRole(actorJson: {}, roleName: str) -> bool:
|
|||
"hasOccupation": {
|
||||
"@type": "Occupation",
|
||||
"name": roleName,
|
||||
"description": "Fediverse instance role",
|
||||
"occupationLocation": {
|
||||
"@type": "City",
|
||||
"url": "Fediverse"
|
||||
|
|
|
@ -760,6 +760,8 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
|
|||
skillsMarkup += ' "hasOccupation": {\n'
|
||||
skillsMarkup += ' "@type": "Occupation",\n'
|
||||
skillsMarkup += ' "name": "' + roleName + '",\n'
|
||||
skillsMarkup += ' "description": ' + \
|
||||
'"Fediverse instance role",\n'
|
||||
skillsMarkup += ' "occupationLocation": {\n'
|
||||
skillsMarkup += \
|
||||
' "@type": "City",\n'
|
||||
|
@ -800,6 +802,8 @@ def htmlHeaderWithPersonMarkup(cssFilename: str, instanceTitle: str,
|
|||
skillsMarkup += ' {\n'
|
||||
skillsMarkup += ' "@type": "Occupation",\n'
|
||||
skillsMarkup += ' "name": "' + ocName + '",\n'
|
||||
skillsMarkup += ' "description": ' + \
|
||||
'"Fediverse instance occupation",\n'
|
||||
skillsMarkup += ' "occupationLocation": {\n'
|
||||
skillsMarkup += ' "@type": "City",\n'
|
||||
skillsMarkup += \
|
||||
|
|
Loading…
Reference in New Issue