|
|
@ -4,7 +4,10 @@ |
|
|
|
srcset=" |
|
|
|
{{ (.Resize "320x q30").RelPermalink }} 320w, |
|
|
|
{{ (.Resize "600x q40").RelPermalink }} 600w, |
|
|
|
{{ (.Resize "1200x q65").RelPermalink }} 2x" |
|
|
|
{{ (.Resize "1200x q65").RelPermalink }} 1200w" |
|
|
|
sizes="(max-width: 400px) 320vw, |
|
|
|
(max-width: 1000px) 600vw, |
|
|
|
1200vw" |
|
|
|
src="{{ .RelPermalink }}" |
|
|
|
{{ end }} |
|
|
|
alt="{{ .context.Params.featured.alt }}" |
|
|
@ -15,7 +18,10 @@ |
|
|
|
srcset=" |
|
|
|
{{ (.Resize "320x q30").RelPermalink }} 320w, |
|
|
|
{{ (.Resize "600x q40").RelPermalink }} 600w, |
|
|
|
{{ (.Resize "1200x q65").RelPermalink }} 2x" |
|
|
|
{{ (.Resize "1200x q65").RelPermalink }} 1200w" |
|
|
|
sizes="(max-width: 400px) 320vw, |
|
|
|
(max-width: 1000px) 600vw, |
|
|
|
1200vw" |
|
|
|
src="{{ .RelPermalink }}" |
|
|
|
alt="{{ .Params.alt }}" |
|
|
|
{{ end }} |
|
|
|