-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Trying to use syna-start with this version of Hugo and I think the requirement to use Hugo extended is not covered by the syna-start tutorial. It may be covered in the Syna theme documentation but I shouldn't have to dig through that for a simple getting started.
$ hugo version
Hugo Static Site Generator v0.63.1-CE9ACEB7 linux/amd64 BuildDate: 2020-01-23T20:08:20Z
I got this error trying the syna-start:
$ hugo server -D
Building sites … ERROR 2020/01/25 18:12:05 Failed to read Git log: Unknown option: -C
usage: git [--version] [--help] [-c name=value]
[--exec-path[=]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=] [--work-tree=] [--namespace=]
[]
WARN 2020/01/25 18:12:05 .File.Dir on zero object. Wrap it in if or with: {{ with .File }}{{ .Dir }}{{ end }}
Built in 180 ms
Error: Error building site: logged 1 error(s)
I went through the Hugo getting started and built a one page website with the ananke theme. It works. I switch to syna and get a similar but more informative error message.
$ hugo server -D
Building sites … WARN 2020/01/25 18:10:31 .File.Dir on zero object. Wrap it in if or with: {{ with .File }}{{ .Dir }}{{ end }}
ERROR 2020/01/25 18:10:31 Transformation failed: TOCSS: failed to transform "main.scss" (text/x-scss): this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Built in 116 ms
Error: Error building site: logged 1 error(s)
Following the goo.gl link for more information, it looks like syna assumes features from the extended version of Hugo. If this is correct, it would be appreciated it you could confirm this and then update the documentation.