Fix atom media mime type

This commit is contained in:
Daniel Supernault 2023-01-08 13:27:24 -07:00
parent 1ae381b4b9
commit 8bd39801c2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -30,7 +30,7 @@
</content> </content>
<link rel="alternate" href="{{ $item['url'] }}" /> <link rel="alternate" href="{{ $item['url'] }}" />
<summary type="html">{{ $item['content'] }}</summary> <summary type="html">{{ $item['content'] }}</summary>
<media:content url="{{ $item['media_attachments'][0]['url'] }}" type="image/png" medium="image" /> <media:content url="{{ $item['media_attachments'][0]['url'] }}" type="{{ $item['media_attachments'][0]['mime'] }}" medium="image" />
</entry> </entry>
@endforeach @endforeach
</feed> </feed>