hugo-theme-zdoc icon indicating copy to clipboard operation
hugo-theme-zdoc copied to clipboard

Can't build using new site

Open wayne0811 opened this issue 4 years ago • 5 comments

Start building sites … 
Error: Error building site: failed to render pages: render of "home" failed: "/github/workspace/themes/zdoc/layouts/_default/baseof.html:16:33": execute of template failed: template: index.html:16:33: executing "index.html" at <index $themeOptions 0>: error calling index: index of untyped nil
ERROR 2020/11/14 09:00:44 render of "taxonomy" failed: "/github/workspace/themes/zdoc/layouts/_default/baseof.html:16:33": execute of template failed: template: _default/taxonomy.html:16:33: executing "_default/taxonomy.html" at <index $themeOptions 0>: error calling index: index of untyped nil
ERROR 2020/11/14 09:00:44 render of "taxonomy" failed: "/github/workspace/themes/zdoc/layouts/_default/baseof.html:16:33": execute of template failed: template: _default/taxonomy.html:16:33: executing "_default/taxonomy.html" at <index $themeOptions 0>: error calling index: index of untyped nil
ERROR 2020/11/14 09:00:44 TOCSS: failed to transform "main_parsed.scss" (text/x-scss): SCSS processing failed: file "stdin", line 1, col 17: Invalid CSS after "$enable-navbar:": expected expression (e.g. 1px, bold), was "<no value>;"

I'm trying to use this theme while following the official Quick Start guide. Is there any additional configuration needed for this theme to work?

Hugo version: 0.78

Reproduction in Github actions

wayne0811 avatar Nov 14 '20 09:11 wayne0811

same, did u find any working solution?

bh90210 avatar Jan 20 '21 11:01 bh90210

I get the same when trying to build on gitlab pages.

woolly-labs avatar Feb 07 '21 03:02 woolly-labs

Same here. Not working with Hugo v.0.80.0

kovalroma avatar Feb 19 '21 11:02 kovalroma

I came with the same problem, then I realized that there is a doc on how to use this theme. The doc is well written, and it solves this problem.

wlbksy avatar Dec 15 '21 00:12 wlbksy

Make sure you add the config files.

lamafab avatar Jan 25 '22 15:01 lamafab