linux - Hugo Error - Current theme does not support current version -


i'm attempting build hugo site when run hugo check see following error log:

error: 2017/09/10 current theme not support hugo version 0.14. minimum version required 0.18 error: 2017/09/10 template: theme/_default/baseof.html:2: function "default" not defined error: 2017/09/10 template: redefinition of template "main" error: 2017/09/10 template: theme/_default/single.html:7: function "humanize" not defined error: 2017/09/10 template: redefinition of template "main" error: 2017/09/10 template: theme/_default/terms.html:12: function "rellangurl" not defined error: 2017/09/10 template: theme/index.html:6: function "default" not defined error: 2017/09/10 template: theme/partials/menu-contextual.html:12: function "humanize" not defined error: 2017/09/10 template: theme/partials/page-header.html:9: function "default" not defined error: 2017/09/10 template: theme/partials/site-footer.html:4: function "now" not defined error: 2017/09/10 template: theme/partials/site-header.html:1: function "default" not defined error: 2017/09/10 template: theme/partials/social-follow.html:5: function "dict" not defined error: 2017/09/10 template: theme/partials/summary.html:3: function "humanize" not defined error: 2017/09/10 template: theme/post/single.html:11: function "humanize" not defined error: 2017/09/10 template: redefinition of template "main" 

it says need hugo version 0.18 when run sudo apt-get install hugo tells me:

hugo newest version 0 upgraded, 0 newly installed, 0 remove , 15 not upgraded. 

so i'm confused why i'm getting error. has run error? know how can fix it?

if you're not getting latest version of hugo using apt should attempt download directly github repository. click on latest release (or whichever version need). once you're on release page, scroll down downloads section , download file clicking on or using wget download compressed file. extract file , run ./hugo version confirm version.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -