fix og image
This commit is contained in:
parent
94bf90fbb5
commit
372ea209b7
|
@ -41,14 +41,14 @@
|
|||
{% if not post.isQuick %}
|
||||
{% set name = 'Deblan Blog' %}
|
||||
{% set title = 'Blog - ' ~ block('meta_title') %}
|
||||
{% set image = post.image ? asset(post.image) : null %}
|
||||
{% set image = post.image ? absolute_url(asset(post.image)) : null %}
|
||||
{% else %}
|
||||
{% set image = null %}
|
||||
|
||||
{% if post.quickImage %}
|
||||
{% set image = post.quickImage %}
|
||||
{% elseif post.image %}
|
||||
{% set image = asset(post.image) %}
|
||||
{% set image = absolute_url(asset(post.image)) %}
|
||||
{% endif %}
|
||||
|
||||
{% set title = block('meta_title') %}
|
||||
|
|
Loading…
Reference in a new issue