Compare commits

..

1 Commits

Author SHA1 Message Date
Wen Junhua cf09f3adf9
Merge d225da3941 into dbf421848f 2023-11-27 15:42:50 +00:00
1 changed files with 54 additions and 52 deletions

View File

@ -81,6 +81,7 @@
type="image/webp" type="image/webp"
/> />
{{ end }} {{ end }}
{{ with $img }}
{{ $orientation := 1 }} {{ $orientation := 1 }}
{{ with .Exif }} {{ with .Exif }}
{{ $orientation = .Tags.Orientation }} {{ $orientation = .Tags.Orientation }}
@ -140,6 +141,7 @@
{{ end }} {{ end }}
> >
{{ end }} {{ end }}
{{ end }}
</picture> </picture>
{{ end }} {{ end }}
{{ end }} {{ end }}