_includes/themes/jmblog-theme/post.html in jmblog-theme-1.2 vs _includes/themes/jmblog-theme/post.html in jmblog-theme-1.3
- old
+ new
@@ -27,15 +27,11 @@
{% if readingtime.size > 1 %}
<span class="is-size-7 has-text-black">{{ readingtime | strip }}</span>
{% endif %}
{% include themes/jmblog-theme/components/share_buttons.html %}
- {% include themes/jmblog-theme/components/img.html
- src=page.image.path
- img_author=page.image.author
- img_source=page.image.source
- img_source_url=page.image.url
- alt=page.title %}
+ {% include themes/jmblog-theme/components/img.html src=page.image.path alt=page.title %}
+ <span class="is-size-7 mb-5 is-block">Image by <a href="{{ page.image.url }}">{{ page.image.author }}</a> from <a href="{{ page.image.url }}">{{ page.image.source }}</a></span>
<div class="content is-double-spaced is-size-5 is-family-secondary pb-6">
{{content}}
</div>
\ No newline at end of file