csunibo / csunibo.github.io

CSUnibo official home page
https://csunibo.students.cs.unibo.it
GNU General Public License v3.0
2 stars 8 forks source link

Modules not compatible with hugo version > 0.122 #50

Open samuelemusiani opened 2 months ago

samuelemusiani commented 2 months ago

All the theme (?) modules that we are using are not compatible with hugo versions greater than 0.122. For now the only solution is to use a compatibile hugo version (<= 0.122).

Modules: In file: config/_default/config.yaml

module:
  imports:
    - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms
    - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify
    - path: github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5

Errors:

Start building sites … 
hugo v0.123.0+extended linux/amd64 BuildDate=unknown

ERROR render of "section" failed: "/home/samu/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.1/layouts/_default/baseof.html:11:403": execute of template failed: template: _default/list.html:11:403: executing "_default/list.html" at <.File.UniqueID>: can't evaluate field File in type *source.File
ERROR render of "page" failed: "/home/samu/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.1/layouts/_default/baseof.html:11:403": execute of template failed: template: _default/single.html:11:403: executing "_default/single.html" at <.File.UniqueID>: can't evaluate field File in type *source.File
Total in 482 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/home/samu/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5@v5.8.1/layouts/_default/baseof.html:11:403": execute of template failed: template: widget_page/single.html:11:403: executing "widget_page/single.html" at <.File.UniqueID>: can't evaluate field File in type *source.File
ali-benny commented 2 months ago

Sulla repo del tema ho trovato questo https://github.com/HugoBlox/hugo-blox-builder/issues/3070