mirror of https://github.com/jpanther/congo.git
Compare commits
1 Commits
7e3a4a92f8
...
cf09f3adf9
Author | SHA1 | Date |
---|---|---|
Wen Junhua | cf09f3adf9 |
|
@ -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 }}
|
Loading…
Reference in New Issue