我想建一个博客分享文件。我可以用alex-shpak/hugo-book,但尝试了 jgazeau/shadocs, 和 google/docsy 却不行。
当尝试 jgazeau/shadocs时,在运行blogdown::serve_site()时,有下面的错误:
Launching the server via the command:
C:/Users/firstname/AppData/Roaming/Hugo/0.91.2/hugo.exe server --bind 127.0.0.1 -p 4321 --themesDir themes -t shadocs -D -F --navigateToChanged
Error: Error building site: failed to render pages: render of "page" failed: execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" at <partial "main.html" (dict "root" . "contentTemplate" "theme/content.html")>: error calling partial: execute of template failed: template: partials/main.html:5:8: executing "partials/main.html" at <partial "theme/includes-head.html" .root>: error calling partial: "D:\A_Blog with R\share_docs\themes\shadocs\layouts\partials\theme\includes-head.html:7:12": execute of template failed: template: partials/theme/includes-head.html:7:12: executing "partials/theme/includes-head.html" at <.>: range can't iterate over sass/custom/example.sass