The current Hugo theme for the beetbox.io website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
477 B

<img class="{{ .class }}"
{{ with .image }}
srcset="
{{- with (.Resize "600x q40") -}}
{{ printf "%s %dw," .RelPermalink .Width }}
{{- end -}}
{{- with (.Resize "1200x q65") -}}
{{ printf "%s %dw" .RelPermalink .Width }}
{{- end -}}"
sizes="(max-width: 900px) 600px, (min-width: 901px) 1200px"
src="
{{- with (.Resize "600x q40") -}}
{{ .RelPermalink }}
{{- end -}}"
{{ end }}
alt="{{ .alt }}"
>