mirror of https://gitlab.com/bashrc2/epicyon
Fix blog url
parent
5adcfaf1aa
commit
c89caff090
2
posts.py
2
posts.py
|
@ -1478,7 +1478,7 @@ def createBlogPost(baseDir: str,
|
||||||
inReplyTo, inReplyToAtomUri, subject,
|
inReplyTo, inReplyToAtomUri, subject,
|
||||||
schedulePost,
|
schedulePost,
|
||||||
eventDate, eventTime, location, True)
|
eventDate, eventTime, location, True)
|
||||||
|
blogJson['object']['url'] = blogJson['object']['url'].replace('/@', '/users/')
|
||||||
_appendCitationsToBlogPost(baseDir, nickname, domain, blogJson)
|
_appendCitationsToBlogPost(baseDir, nickname, domain, blogJson)
|
||||||
|
|
||||||
return blogJson
|
return blogJson
|
||||||
|
|
Loading…
Reference in New Issue