diff --git a/app/item/models.py b/app/item/models.py index 4ead4f8..17815e7 100644 --- a/app/item/models.py +++ b/app/item/models.py @@ -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 diff --git a/app/static/css/site.scss b/app/static/css/site.scss index 2212ea5..c478fcd 100644 --- a/app/static/css/site.scss +++ b/app/static/css/site.scss @@ -116,6 +116,7 @@ header { width: 100%; aspect-ratio: 16/9; object-fit: cover; + object-position: top; } } .content {