only top for doc
This commit is contained in:
parent
f5e4ad0de6
commit
6c9f688ee7
3 changed files with 8 additions and 2 deletions
|
|
@ -124,6 +124,8 @@ class Item(models.Model):
|
|||
key = key.replace('og:', '')
|
||||
data[key] = value
|
||||
data["url"] = self.url
|
||||
if "m/documents" in self.url:
|
||||
data["type"] = "document"
|
||||
return data
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue