kopia lustrzana https://github.com/jointakahe/takahe
Add schema.org context
rodzic
89b436a0c1
commit
3995ec8aa6
12
core/ld.py
12
core/ld.py
|
@ -547,6 +547,18 @@ schemas = {
|
|||
}
|
||||
},
|
||||
},
|
||||
"schema.org": {
|
||||
"contentType": "application/ld+json",
|
||||
"documentUrl": "https://schema.org/docs/jsonldcontext.json",
|
||||
"contextUrl": None,
|
||||
"document": {
|
||||
"@context": {
|
||||
"schema": "http://schema.org/",
|
||||
"PropertyValue": {"@id": "schema:PropertyValue"},
|
||||
"value": {"@id": "schema:value"},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.Z"
|
||||
|
|
Ładowanie…
Reference in New Issue