diff options
author | Asur <asur@asurbernardo.com> | 2020-02-17 15:29:58 +0300 |
---|---|---|
committer | Asur <asur@asurbernardo.com> | 2020-02-17 15:29:58 +0300 |
commit | 0d7464ecf72d3070da244c3c50db4f75972ce442 (patch) | |
tree | 55d70675a570fe181f8ee1c5a778fcb0974f1fd9 | |
parent | 5b3a51aaea8658924c1c92c00e32c834dac78292 (diff) |
Make responsive layout the default on image block
-rw-r--r-- | layouts/partials/blocks/image.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/blocks/image.html b/layouts/partials/blocks/image.html index c6424c8..6816d09 100644 --- a/layouts/partials/blocks/image.html +++ b/layouts/partials/blocks/image.html @@ -15,7 +15,7 @@ {{ (.Resize "320x").Permalink }} 320w" width={{ with $.width }} "{{ . }}" {{ else }} {{ $resource.Width }} {{ end }} height={{ with $.height }} "{{ . }}" {{ else }} {{ $resource.Height }} {{ end }} - {{ with $.layout }}layout="{{ . }}"{{ end }} + layout={{ with $.layout }}"{{ . }}"{{else}}"responsive"{{ end }} {{ with $.alt }}alt="{{ . }}"{{ end }} class="figure__image {{ with $.class }}{{ . }}{{ end }} {{ with $.caption }}figure__image--with-caption{{ end }}"> </amp-img> |