{{ with .Get "dark-src" }}<picture{{ with $.Get "class" }} class="{{ . }}"{{ end }} style="width:{{ $.Get "width" }}; {{ $.Get "style" | safeCSS }}"><source srcset="{{ . }}" media="(prefers-color-scheme: dark)"><img width="100%" src="{{ $.Get "src" }}" alt="{{ $.Get "alt" }}"></picture>{{ else }}<img width="{{ .Get "width" }}" src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" style="{{ .Get "style" | safeCSS }}"{{ with .Get "class" }} class="{{ . }}"{{ end }}>{{ end }}
