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-12-26 20:01:39 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
56512e816f
hugo
/
examples
/
multilingual
/
config.toml
6 lines
88 B
TOML
Raw
Normal View
History
Unescape
Escape
Fix multilingual site layouts/templates.
2015-04-26 15:42:09 +00: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-03 00:10:19 +00: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 19:34:56 +00: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-03 00:10:19 +00:00
tag
=
"tags"
group
=
"groups"
Fix multilingual site layouts/templates.
2015-04-26 15:42:09 +00:00
menu
=
"menu"
Reference in a new issue
Copy permalink