Hugo Tips and Tricks

If you are using Hugo with the Minimo theme and get this error:

Error: "/pwd/themes/minimo/layouts/partials/comments/staticman/GetStaticmanYML.html:4:1": parse failed: template: partials/comments/staticman/GetStaticmanYML.html:4: function "return" not defined

The issue is due to needing a later version of Hugo, minimum of Hugo v0.55. Confirm the version of Hugo you are running with hugo version and update to a supported version.