hugo-strata-theme
hugo-strata-theme copied to clipboard
Code Typo in README.md
In the menu section there is a small but powerful typo.
+++
menu = "main"
+++
The equal sign should be replaced to a colon:
+++
menu: "main"
+++
Oherwise:
ERROR 2018/02/02 19:01:09 failed to parse page metadata for "acerca.md": yaml: line 5: could not find expected ':'
Error: Error building site: Errors reading pages: Error: failed to parse page metadata for "acerca.md": yaml: line 5: could not find expected ':' for acerca.md
This is valid TOML code, see https://gohugo.io/content-management/front-matter/#front-matter-formats
@agucova is actually referring to the .md
files, not config.toml
. By adding menu: "main"
to the frontmatter, you can get your page automatically added to the menu without having to touch config.toml
.
@agucova @hanzei @BenBergman
I've forked this repo and started working on updating it if you're interested in an actively developed theme:
https://github.com/Programazing/hugo-strata-theme-II