Resources.ByType for video files?

I don’t think that "video" is a media type that is currently recognized by Hugo with .Page.Resources.ByType.

But you may get a video by using a glob to check for the file extension by using resources.Match/GetMatch/Get as described over here

1 Like