better previews for documents
This commit is contained in:
parent
559eaeaa66
commit
f5e4ad0de6
2 changed files with 3 additions and 0 deletions
|
|
@ -116,6 +116,8 @@ class Item(models.Model):
|
|||
if not key:
|
||||
key = meta.attrib.get('property')
|
||||
value = meta.attrib.get('content')
|
||||
if key == "thumbnail":
|
||||
value = value.replace('/512p', '/1024p')
|
||||
if key and value:
|
||||
if key in ('viewport', ):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue