forestryio / hugo-theme-novela

Novela, the simplest way to start publishing with Hugo and Forestry.
https://hugo-novela-forestry.netlify.app/
MIT License
360 stars 192 forks source link

Deployment failed - Netlify #20

Closed benstaf closed 4 years ago

benstaf commented 4 years ago

Hi, I tried to deploy on Netlify, but I got this log:

12:38:41 AM: Executing user command: hugo --gc --minify
12:38:41 AM: Error: "/opt/build/repo/themes/novela/layouts/partials/func/GetArticleAuthors.html:39:1": parse failed: template: partials/func/GetArticleAuthors.html:39: function "return" not defined
12:38:45 AM: failed during stage 'building site': Build script returned non-zero exit code: 255
12:38:46 AM: Finished processing build request in 19.440587786s
DirtyF commented 4 years ago

This theme uses thereturn function in partials, and needs hugo > 0.55

Set HUGO_VERSION to 0.64.1