Hello,
I’m on Windows 11, I use Powershell to try Hugo.
I think there is a mistake with the command
echo "theme = 'ananke'" >> hugo.toml
because the file generated look like
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
"theme = 'ananke'"
and result in error with command
hugo server
Error: command error: failed to load config: “C:\Developpements\testhugo\hugo.toml:4:19”: unmarshal failed: toml: expected character =
if I manually change the config file like this
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'ananke'
or change
echo "theme = 'ananke'" >> hugo.toml
by
echo theme = 'ananke' >> hugo.toml
it works like a charm
Refer my PR Update quick-start.md by seb49 · Pull Request #2674 · gohugoio/hugoDocs · GitHub
Regards