mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-03 18:35:07 +01:00
resized images in feeds
This commit is contained in:
parent
2b3d5c5ea1
commit
20d5640490
@ -26,7 +26,7 @@ layout: null
|
||||
{% if post.linkurl %}"external_url": "{{ post.linkurl }}",{% endif %}
|
||||
"author": "{{ site.author.name }}",
|
||||
"summary": {{ post.excerpt | smartify | jsonify }},
|
||||
{% if post.image %}"image": "{{ site.url }}/media/{{ post.image }}",{% endif %}
|
||||
{% if post.image %}"image": "{{ site.media_url }}/w_940/media/{{ post.image }}",{% endif %}
|
||||
"content_html": {{ post.content | jsonify }}
|
||||
}{% unless forloop.last == true %},{% endunless %}
|
||||
{% endfor %}
|
||||
|
@ -58,7 +58,7 @@ redirect_from:
|
||||
<id>{{ post.id | prepend: site.url | xml_escape }}</id>
|
||||
<content type="html" xml:base="{{ post.url | xml_escape }}">
|
||||
{% if post.image %}
|
||||
<img src="{{ site.url }}/media/{{ post.image }}" />
|
||||
<img src="{{ site.media_url }}/w_940/media/{{ post.image }}" />
|
||||
{% endif %}
|
||||
|
||||
{{ post.content | markdownify | xml_escape }}
|
||||
|
Loading…
Reference in New Issue
Block a user