assets/json/posts.json in jumbo-jekyll-theme-6.0.0.5 vs assets/json/posts.json in jumbo-jekyll-theme-6.0.1.0
- old
+ new
@@ -6,13 +6,13 @@
{
"title": "{{ post.title | escape }}",
"category": "{{ post.category }}",
"content": "{{ post.content | strip_html | strip_newlines | remove_chars | escape }}",
"image": "{% if post.image %}
- {% assign image_path = post.image | remove_first: '/assets/images/' %}
+ {% assign image_path = post.image %}
{% capture image_alt %}{{post.title}} image {% endcapture %}
{% else %}
- {% assign image_path = site.post_placeholder | remove_first: '/assets/images/' %}
+ {% assign image_path = site.post_placeholder %}
{% capture image_alt %}{{post.title}} placeholder image {% endcapture %}
{% endif %}{% picture post_thumb_src_only {{image_path}} --alt {{image_alt}} %}",
"tags": "{{ post.tags | join: ', ' }}",
"url": "{{ site.baseurl }}{{ post.url }}",
"description": "{% if post.description %}