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-21 20:46:30 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
6c0f705217
hugo
/
examples
/
multilingual
/
config.toml
6 lines
88 B
TOML
Raw
Normal View
History
Unescape
Escape
Fix multilingual site layouts/templates.
2015-04-26 11:42:09 -04:00
baseurl
=
"http://example.com"
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
[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"
Fix multilingual site layouts/templates.
2015-04-26 11:42:09 -04:00
menu
=
"menu"
Reference in a new issue
Copy permalink