medium")).Permalink }} 1200w" sizes="100vw"
              {{- end }}
            />
            {{- end }}
          {{- end }}
          <img
          {{- if $isSVG }}
            src="{{ $origin.Permalink }}" width="{{ index $size (default "medium" $customSize) }}"
          {{- else }}
            {{- if eq $customSize "origin" }}
              src="{{ $origin.Permalink }}"
            {{- else }}
              src="{{ ($origin.Fill (index $size "large")).Permalink }}"
            {{- end }}
           