hermit icon indicating copy to clipboard operation
hermit copied to clipboard

Hugo -D: Not working

Open ghost opened this issue 2 years ago • 2 comments

Hi, I set up a new homepage and run through the tutorial. When executing hugo everthing works fine. But if I try executing hugo -D or hugo server -D this is what happening: Start building sites … hugo v0.88.1+extended linux/amd64 BuildDate=unknown ERROR 2022/05/05 21:36:49 render of "page" failed: "/home/philipp/Desktop/hermitNew/themes/hermit/layouts/posts/single.html:22:54": execute of template failed: template: posts/single.html:22:54: executing "main" at <.Site.Params.dateform>: invalid value; expected string ERROR 2022/05/05 21:36:49 render of "taxonomy" failed: "/home/philipp/Desktop/hermitNew/themes/hermit/layouts/_default/list.html:21:50": execute of template failed: template: _default/list.html:21:50: executing "main" at <.Site.Params.dateformShort>: invalid value; expected string ERROR 2022/05/05 21:36:49 render of "term" failed: "/home/philipp/Desktop/hermitNew/themes/hermit/layouts/_default/list.html:21:50": execute of template failed: template: _default/list.html:21:50: executing "main" at <.Site.Params.dateformShort>: invalid value; expected string Error: Error building site: failed to render pages: render of "section" failed: "/home/philipp/Desktop/hermitNew/themes/hermit/layouts/_default/list.html:21:50": execute of template failed: template: _default/list.html:21:50: executing "main" at <.Site.Params.dateformShort>: invalid value; expected string Total in 61 ms Does one have an idea? Sincerly, Philipp

ghost avatar May 05 '22 19:05 ghost

Try to use root/administrator user to run the command.

Hoooao avatar May 30 '22 19:05 Hoooao

See https://github.com/Track3/hermit/issues/27#issuecomment-450775241, does this help?

jamesbraza avatar Sep 02 '22 03:09 jamesbraza