Hugo-blox(academic) site failed to build after updating from 0.125.2 > 0.126.1

Hi all, I recently pushed my static site to github through github actions, and with the latest version 0.126.1, the build didn’t get through, while with 0.125 locally, the site got built without issue.

The error I got:
Error: error building site: assemble: failed to resolve media type for "mmark"

After upgrading my local Hugo to 0.126.1, the same error popped up too, I’d suspect it’s a incompatibility of hugo-blox to the new hugo-version. Wonder if anyone else running into the same errors? All mmark related posts I found here seem pretty outdated, my config associated with mmark look like below:

markup:
  goldmark:
    renderer:
      unsafe: true
  _merge: deep

Hi, please post a link to your repo and then we can most likely help you find the issue.

Hi thanks for the prompt reply. Here is the link to my repo GitHub - fischcheng/fischcheng.github.io: personal website, remade with Hugo.

Do you have something like this in front matter anywhere:

markup = 'mmark'

Yes, you do:

https://raw.githubusercontent.com/fischcheng/fischcheng.github.io/source/content/post/ccsm_workflow/index.md

Thank you very much!! Sorry for not digging deep enough. Confirmed the issue is gone!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.