renamed _movedTo_name to movedToName and documented its use.
This commit is contained in:
parent
803abfaf97
commit
fee7d565f0
2 changed files with 2 additions and 3 deletions
|
@ -20,6 +20,7 @@ ACTIVITYPUB_AUTHORS = {
|
|||
'alice': {
|
||||
'name': 'Alice',
|
||||
'movedTo': 'https://fedi.example/users/alice',
|
||||
'movedToName': '@alice@fedi.example',
|
||||
'alsoKnownAs': ['https://fedi.example/users/alice'],
|
||||
'summary': 'Hi, I\'m Alice! Please follow me at @alice@fedi.example.',
|
||||
'attachment': [
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
import datetime
|
||||
import logging
|
||||
import json
|
||||
|
@ -8,7 +7,6 @@ import pelican.writers
|
|||
|
||||
from pelican import signals
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@ -148,7 +146,7 @@ def ap_article(generator: pelican.ArticlesGenerator, writer: pelican.writers.Wri
|
|||
tags.append({
|
||||
'type': 'Mention',
|
||||
'href': aa['movedTo'],
|
||||
'name': aa['_movedTo_name']
|
||||
'name': aa['movedToName']
|
||||
})
|
||||
cmap = {}
|
||||
tmap = {}
|
||||
|
|
Loading…
Reference in a new issue