mirror of https://gitlab.com/bashrc2/epicyon
Use original post
parent
d7cd151f04
commit
060311e288
|
@ -1922,6 +1922,7 @@ def htmlIndividualPost(cssCache: {},
|
||||||
CWlists: {}, listsEnabled: str) -> str:
|
CWlists: {}, listsEnabled: str) -> str:
|
||||||
"""Show an individual post as html
|
"""Show an individual post as html
|
||||||
"""
|
"""
|
||||||
|
originalPostJson = postJsonObject
|
||||||
postStr = ''
|
postStr = ''
|
||||||
if likedBy:
|
if likedBy:
|
||||||
likedByNickname = getNicknameFromActor(likedBy)
|
likedByNickname = getNicknameFromActor(likedBy)
|
||||||
|
@ -2048,7 +2049,7 @@ def htmlIndividualPost(cssCache: {},
|
||||||
|
|
||||||
instanceTitle = \
|
instanceTitle = \
|
||||||
getConfigParam(baseDir, 'instanceTitle')
|
getConfigParam(baseDir, 'instanceTitle')
|
||||||
metadataStr = _htmlPostMetadataOpenGraph(domain, postJsonObject)
|
metadataStr = _htmlPostMetadataOpenGraph(domain, originalPostJson)
|
||||||
headerStr = htmlHeaderWithExternalStyle(cssFilename,
|
headerStr = htmlHeaderWithExternalStyle(cssFilename,
|
||||||
instanceTitle, metadataStr)
|
instanceTitle, metadataStr)
|
||||||
return headerStr + postStr + htmlFooter()
|
return headerStr + postStr + htmlFooter()
|
||||||
|
|
Loading…
Reference in New Issue