Skip to content
Discussion options

You must be logged in to vote

The reason is that the poc.mp4 was published under in the same path of the default language content.

For example,

Path
Default Language /blog/foo
Resource /blog/foo/poc.mp4

However according to the permalinks config on your hugo.yaml.
The secondary Language content's path is different from default language (e.g. /blog/foo-en), which don't have the poc.mp4 in same path, that is it.

To solve it

  1. You can duplicate the resource by setting markup.goldmark.duplicateResourceFiles, but I don't recommend using this approach unless you're using multihosts.
// hugo.yaml
markup:
  goldmark:
    duplicateResourceFiles: true
  1. Or using shortcode (which is always recommended for any page re…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sandsoncosta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants