Closed jwangsadinata closed 3 years ago
Duplicate of https://github.com/jakewies/hugo-theme-codex/pull/166
Thanks for pointing this one out @jwangsadinata I'll make sure to credit you over in the other PR (where a larger conversation is taking place) since you were the first to find this one.
As per Hugo v0.82.0 onwards, the Suffix and FullSuffix on media.Type is deprecated (see this [commit]) to make it comparable. Therefore, running hugo commands will result in an error.
This commit fixes the issue according to the new media.Type struct definitions.
[commit]: https://github.com/gohugoio/hugo/commit/ba1d0051b44fdd242b20899e195e37ab26501516