You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
OlafHaag
changed the title
.MediaType.Suffixes returns empty array when site is deployed to GitLab
.MediaType.Suffixes returns empty array for m4v when site is deployed to GitLab
Apr 13, 2020
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.
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.
The text was updated successfully, but these errors were encountered: