80% is a better default
Less need for people to customize
This commit is contained in:
@@ -8,5 +8,5 @@
|
|||||||
{{ $image := .Get "src" }}
|
{{ $image := .Get "src" }}
|
||||||
{{ $alt := .Get "title" }}
|
{{ $alt := .Get "title" }}
|
||||||
{{ $width := .Get "width" | default "w_auto" }}
|
{{ $width := .Get "width" | default "w_auto" }}
|
||||||
{{ $style := .Get "style" | default "max-width:90%" }}
|
{{ $style := .Get "style" | default "max-width:80%" }}
|
||||||
<img alt="{{ $alt }}" title="{{ $alt }}" data-src="https://res.cloudinary.com/{{ $.Site.Params.cloudinary_cloud_name }}/{{ $width }},c_scale,f_auto,q_auto,dpr_auto{{ $image}}" class="cld-responsive" style="{{ $style }}">
|
<img alt="{{ $alt }}" title="{{ $alt }}" data-src="https://res.cloudinary.com/{{ $.Site.Params.cloudinary_cloud_name }}/{{ $width }},c_scale,f_auto,q_auto,dpr_auto{{ $image}}" class="cld-responsive" style="{{ $style }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user