This website requires JavaScript.
Explore
Help
Sign In
github
/
hugo
Watch
1
Star
0
Fork
You've already forked hugo
0
mirror of
https://github.com/gohugoio/hugo.git
synced
2024-11-14 20:37:55 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
41c0e82f95
hugo
/
examples
/
multilingual
/
config.toml
7 lines
71 B
TOML
Raw
Normal View
History
Unescape
Escape
A small fix and update to the multilingual example Enclose `{{ .Content }}` with a `{{ if .IsPage }}` test to avoid the "Content is not a field of struct type *hugolib.Node" error. Thanks to @spf13 for the tip! Fixes #366. Also update example to Hugo v0.12 conventions: - Convert config.yaml to config.toml to follow what `hugo new site /path/to/site` generates - Rename layouts/chrome to layouts/partials - Convert `template` calls to `partial` calls - Add .gitignore to ignore the `public` directory - Add README.md with pointers to discussions in issues to help bring newcomers up to speed with this multilingual example
2014-09-02 20:10:19 -04:00
baseurl
=
""
[Docs] Complete the transition from "indexes" to "taxonomies" (almost) Also mention `.Site.Indexes` → `.Site.Taxonomies` as well as the upcoming `.Site.Recent` → `.Site.Pages` transitions.
2015-01-29 14:34:56 -05:00
[
taxonomies
]
A small fix and update to the multilingual example Enclose `{{ .Content }}` with a `{{ if .IsPage }}` test to avoid the "Content is not a field of struct type *hugolib.Node" error. Thanks to @spf13 for the tip! Fixes #366. Also update example to Hugo v0.12 conventions: - Convert config.yaml to config.toml to follow what `hugo new site /path/to/site` generates - Rename layouts/chrome to layouts/partials - Convert `template` calls to `partial` calls - Add .gitignore to ignore the `public` directory - Add README.md with pointers to discussions in issues to help bring newcomers up to speed with this multilingual example
2014-09-02 20:10:19 -04:00
tag
=
"tags"
group
=
"groups"
menu
=
"menu"
Reference in a new issue
Copy permalink