Sha256: 4bc6904c4a202572ac7a8dde3ce00dcba0737199747b6b5eb86c9b515d6681e2

Contents?: true

Size: 828 Bytes

Versions: 2

Compression:

Stored size: 828 Bytes

Contents

{% capture img_attrs %}
?nf_resize={{ include.mode | default: 'fit' }}
&w={{ include.w | default: 790 }}
{% if include.h %}&h={{ include.h }}{% endif %}
{% endcapture %}
<div class="responsive-image">
  <figure class="image{{ include.res | default: 'is-3by2' | prepend: ' ' }}">
    <img 
      data-src="{{ include.src | default: '/assets/img/ph.png' }}{{ img_attrs | strip }}" 
      data-lowsrc="{{ include.src | default: '/assets/img/ph.png' }}?nf_resize={{ include.mode | default: 'fit' }}&w=100"
      alt="{{ include.alt | default: page.title }}"
      class="lazyload blur-up">
  </figure>
  <span class="is-size-7 mb-5 is-block img_caption">Image by&nbsp;<a href="{{ include.img_source_url }}">{{ include.img_author }}</a>&nbsp;from&nbsp;<a href="{{ include.img_source_url }}">{{ include.img_source }}</a></span>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jmblog-theme-1.2 _includes/themes/jmblog-theme/components/img.html
jmblog-theme-1.1.9 _includes/themes/jmblog-theme/components/img.html