Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/asurbernardo/amperage.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsur <asur@asurbernardo.com>2020-02-17 15:29:58 +0300
committerAsur <asur@asurbernardo.com>2020-02-17 15:29:58 +0300
commit0d7464ecf72d3070da244c3c50db4f75972ce442 (patch)
tree55d70675a570fe181f8ee1c5a778fcb0974f1fd9
parent5b3a51aaea8658924c1c92c00e32c834dac78292 (diff)
Make responsive layout the default on image block
-rw-r--r--layouts/partials/blocks/image.html2
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>