Skip to content

.MediaType.Suffixes returns empty array for m4v when site is deployed to GitLab #10

@OlafHaag

Description

@OlafHaag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions