When I built my site locally, everything worked as expected. Now I pushed the site to gitlab pages and the build failed. I traced it down to .MediaType.Suffixes returning [].
The file in question is a m4v video file.
|
{{ if or (in .MediaType.Suffixes "mp4") (in .MediaType.Suffixes "m4v") }} |
The page resource is found though. It just can't determine the extension.
I'll look for a solution.
When I built my site locally, everything worked as expected. Now I pushed the site to gitlab pages and the build failed. I traced it down to
.MediaType.Suffixesreturning[].The file in question is a m4v video file.
hugo-video/layouts/shortcodes/video.html
Line 31 in ee4a22c
The page resource is found though. It just can't determine the extension.
I'll look for a solution.