layouts/partials/featured.html: Fix logic
continuous-integration/drone/push Build is passing Details

The logic was incorrect here, which caused some images to be missed
because some images have EXIF data but do not have orientation 8.
This commit is contained in:
Alan Orth 2020-12-12 14:59:08 +02:00
parent bd97c3eb3b
commit ce27c4e6a1
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 3 additions and 1 deletions

View File

@ -41,6 +41,8 @@
{{ else }}
<img src={{ ($image.Fill "480x600").RelPermalink }} width="240" height="300" />
{{ end }}
{{ else }}
<img src={{ ($image.Fill "480x600").RelPermalink }} width="240" height="300" />
{{ end }}
{{ end }}
</div>