Skip to content

Commit

Permalink
Use obj.og_image method for OG image
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeterPaal committed May 24, 2022
1 parent 71da86d commit f723a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/template-meta.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
{% endfor %}
{% endif %}
{% else %}
{% if og_obj.image? %}
{% assign og_image = og_obj.image.for-width-1200 %}
{% if og_obj.og_image? %}
{% assign og_image = og_obj.og_image.for-width-1200 %}
{% endif %}
{% endif %}

Expand Down

0 comments on commit f723a39

Please sign in to comment.