mirror of https://gitlab.com/bashrc2/epicyon
eol
parent
4e4532912b
commit
d3355c2a79
|
@ -123,7 +123,7 @@ def _html_post_metadata_open_graph(domain: str, post_json_object: {},
|
||||||
obj_json = post_json_object['object']
|
obj_json = post_json_object['object']
|
||||||
if obj_json.get('id'):
|
if obj_json.get('id'):
|
||||||
metadata += " <meta name=\"DC.identifier\" " + \
|
metadata += " <meta name=\"DC.identifier\" " + \
|
||||||
"scheme=\"DCTERMS.URI\" content=\"" + obj_json['id'] + "\" />"
|
"scheme=\"DCTERMS.URI\" content=\"" + obj_json['id'] + "\" />\n"
|
||||||
if obj_json.get('attributedTo'):
|
if obj_json.get('attributedTo'):
|
||||||
if isinstance(obj_json['attributedTo'], str):
|
if isinstance(obj_json['attributedTo'], str):
|
||||||
attrib = obj_json['attributedTo']
|
attrib = obj_json['attributedTo']
|
||||||
|
|
Loading…
Reference in New Issue