Hugo

Merge is not defined

I’m trying to see if I like a theme called LoveIt but after making a new branch, clearing out my old theme/styles/configs, and downloading this one as a submodule I can’t seem to build my site.

I did find an open issue about it on the project’s GitHub page but it’s been open for 27 days.

The error message is Error: "/[project]/themes/LoveIt/layouts/shortcodes/admonition.html:3:1": parse failed: template: shortcodes/admonition.html:3: function "merge" not defined

Here’s a link to that file.

Sorry I’m asking about a random theme but I’m not sure what the problem could be.

Your Hugo version needs to be updated to something newer.

1 Like