File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 55
55
56
56
{% if post.image %}
57
57
{% assign src = post.image.path | default: post.image %}
58
- {% unless src contains '//' %}
59
- {% assign src = post.media_subpath | append: '/' | append: src | replace: '//', '/' %}
60
- {% endunless %}
58
+ {% capture src %}{% include media-url.html src=src subpath=post.media_subpath %}{% endcapture %}
61
59
62
60
{% assign alt = post.image.alt | xml_escape | default: 'Preview Image' %}
63
61
64
62
{% assign lqip = null %}
65
63
66
64
{% if post.image.lqip %}
67
- {% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %}
65
+ {% capture lqip_url %}{% include media-url.html src=post.image.lqip subpath=post.media_subpath %}{% endcapture %}
66
+ {% assign lqip = 'lqip="' | append: lqip_url | append: '"' %}
68
67
{% endif %}
69
68
70
69
< div class ="col-md-5 ">
You can’t perform that action at this time.
0 commit comments