nephila / django-meta

Pluggable app to allow Django developers to quickly add meta tags and OpenGraph, Twitter, and Google Plus properties to their HTML responses.
https://django-meta.readthedocs.io
Other
480 stars 68 forks source link

Add support for image object #114

Closed yakky closed 4 years ago

yakky commented 4 years ago

Add support for image_object property, to allow managing all the og:image properties (url, alt, height, width) with a single property

Original image property is kept for compatibility purposes, but if image_object is set, its value it's ignored and the image_object url is used instead

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.4%) to 98.349% when pulling 6dcf22f378aa43995c3d9f02a59abb948737ca12 on feature/issue-113-image-object into 71c50b8c58d12b7c27423ae781f4e1f299d13a04 on develop.

codecov[bot] commented 4 years ago

Codecov Report

Merging #114 into develop will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop      #114   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          148       153    +5     
  Branches        12        15    +3     
=========================================
+ Hits           148       153    +5     
Impacted Files Coverage Δ
meta/templatetags/meta.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 71c50b8...6dcf22f. Read the comment docs.