We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c706799 commit 0f9bcb5Copy full SHA for 0f9bcb5
_layouts/home.html
@@ -64,7 +64,12 @@
64
{% assign lqip = null %}
65
66
{% if post.image.lqip %}
67
- {% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %}
+ {% assign lqip_url = post.image.lqip %}
68
+ {% unless lqip_url contains '//' %}
69
+ {% assign lqip_url = post.media_subpath | append: '/' | append: lqip_url | replace: '//', '/' %}
70
+ {% endunless %}
71
+
72
+ {% capture lqip %}lqip="{{ lqip_url }}"{% endcapture %}
73
{% endif %}
74
75
<div class="col-md-5">
0 commit comments