fix: remove redundant tags

pull/726/head
Wen Junhua 2023-11-28 21:16:27 +08:00
parent d225da3941
commit 1b7361c50d
1 changed files with 53 additions and 55 deletions

View File

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