Hello everyone,
Sorry for my english but i have a little issue.
If i delete manually all " null " then i can made :
“hugo new posts/my-first-post.md”
But i want to know why i have this issue pls, i ve follow the quickstart tutorial but when i create the site :
“hugo new site quickstart”
and i add the theme :
“git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke”
“echo ‘theme = “ananke”’ >> config.toml”
in my file “config.toml” the theme is wrote like in the image overhead.
Thx for aswers.
Jura
2
Hmm, I don’t see those kind of NUL characters in my Notepad++ when I load a config file. They shouldn’t appear there, that’s for sure.
But it looks like they come from the echo
command in the terminal. I see that the quick start suggests doing so, but it’s not really necessary.
You can also simply edit config.toml
and add the theme
value there.
I don’t think you could have done something different since you did follow the quick start properly.
(By the way, your English is good, no problem .) Welcome to the forum!
1 Like
I’m having a similar problem. I’m running into an error when i’m trying to create a new page.
config.toml:3:1": unmarshal failed: Near line 3 (last key parsed ‘’): bare keys cannot contain ‘\x00’
What does it mean?