This website requires JavaScript.
Explore
Help
Sign In
mirror
/
gohugoio-hugo
Watch
1
Star
0
Fork
0
You've already forked gohugoio-hugo
mirror of
https://github.com/gohugoio/hugo.git
synced
2024-05-11 05:54:58 +00:00
Code
Issues
Releases
Activity
gohugoio-hugo
/
examples
/
multilingual
/
config.toml
6 lines
88 B
TOML
Raw
Normal View
History
Unescape
Escape
Fix multilingual site layouts/templates.
2015-04-26 18:42:09 +03: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 18:10:19 -06: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 12:34:56 -07: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 18:10:19 -06:00
tag
=
"tags"
group
=
"groups"
Fix multilingual site layouts/templates.
2015-04-26 18:42:09 +03:00
menu
=
"menu"
Copy Permalink