Alexander Avery
3 years ago
2 changed files with 12 additions and 1 deletions
@ -0,0 +1,11 @@ |
|||||
|
<img class="fill-wh" |
||||
|
{{ with .Page.Resources.GetMatch (.Get "src") }} |
||||
|
srcset=" |
||||
|
{{ (.Resize "320x q30").RelPermalink }} 320w, |
||||
|
{{ (.Resize "600x q40").RelPermalink }} 600w, |
||||
|
{{ (.Resize "1200x q65").RelPermalink }} 2x" |
||||
|
src="{{ .RelPermalink }}" |
||||
|
{{ end }} |
||||
|
alt="{{ .Get "alt" }}" |
||||
|
/> |
||||
|
|
Loading…
Reference in new issue