hugo-universal-theme icon indicating copy to clipboard operation
hugo-universal-theme copied to clipboard

Bug: AVIF not recognized as image format in the front matter

Open LITUATUI opened this issue 3 years ago • 0 comments

I can use AVIF images everywhere with this theme, unless it's in the front matter.

For example:

---
title: Test
date: 2022-03-07T04:09:45.000Z
draft: false
banner: /images/test.avif
---

Will give this error.

execute of template failed: template: partials/headers.html:75:9: executing "partials/headers.html" at <imageConfig $image_local>: error calling imageConfig: image: unknown format

However I can use the exact same image in other parts of the theme.

LITUATUI avatar Mar 27 '22 17:03 LITUATUI